Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/34.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js laravel项目中的npm错误代码2_Node.js_Laravel 5_Npm_Laravel Mix - Fatal编程技术网

Node.js laravel项目中的npm错误代码2

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运行开发人员

。 .

我尝试了不同的方法和互联网使脚本运行,但它不断产生相同的错误

我附上了这封信


请注意,

您是否解决过此问题?有类似的问题。
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.