Node.js laravel项目中的npm错误代码2
我在运行npm时收到一个错误,如下所示:Node.js laravel项目中的npm错误代码2,node.js,laravel-5,npm,laravel-mix,Node.js,Laravel 5,Npm,Laravel Mix,我在运行npm时收到一个错误,如下所示: npm运行开发人员 。 . 我尝试了不同的方法和互联网使脚本运行,但它不断产生相同的错误 我附上了这封信 请注意,您是否解决过此问题?有类似的问题。 npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! @ dev: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules -
npm运行开发人员
。
.
我尝试了不同的方法和互联网使脚本运行,但它不断产生相同的错误
我附上了这封信
请注意,您是否解决过此问题?有类似的问题。
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @ dev: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=./webpack.config.js`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @ dev script 'cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=./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.
npm ERR! 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=./webpack.config.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.