cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js code example
Example: laravel 7 error npm run dev
rm -rf node_modules
rm package-lock.json yarn.lock
npm cache clear --force
npm install