Level 11
Jun 22, 2017
1
Level 11
Laravel Mix cross-env error
Following along with the Laravel Mix and the Front-end video, I'm receiving the following error when running npm run dev
npm ERR! Failed at the @ development script 'cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the package,
npm ERR! not with npm itself.
Tell the author that this fails on your system:
npm ERR! cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
I have the latest NPM npm install --save latest-version and verified webpack and cross-env are installed
npm install webpack
npm install cross-env
Any ideas how to fix?
Please or to participate in this conversation.