I\'m trying to run npm run dev for Laravel Mix and I get this error:
npm run dev
> @ dev D:\\projects\\ptcs > cross-env NODE_ENV=development webpack -
The following worked for Laravel 7.x (and should probably work for any other version as well given the nature of the issue).
npm uninstall --save-dev cross-env npm install -g cross-env
Just moving cross-env from being a local devDependency to a globally available package.