npm 'cross-env' is not recognized as an internal or external command
First run:
rm -rf node_modules
rm package-lock.json yarn.lock
npm cache clear --force
Then run the command:
npm install cross-env
npm install
and then you can also run:
npm run dev