Ensure you are using Node.js 16. If you use nvm, run:
nvm install 16
nvm use 16If you use Node.js 17 or newer, you may need to run your commands with the
NODE_OPTIONS=--openssl-legacy-provider environment variable due to an
OpenSSL compatibility issue with Vue CLI 4.
npm install
npm run serve
npm run build
After building, you can preview the production files locally with:
npx serve -s dist
npm run lint