npm run dev error [npm ERR! code ELIFECYCLE]
npm run dev error [npm ERR! code ELIFECYCLE]
本文链接:https://blog.csdn.net/gh254172840/article/details/78871573
Laravel Mix Version: 1.4.3
Node Version: v8.9.1
NPM Version: 5.5.1
OS: macOS 10.12.6
Description:
ze Chunks Chunk Names
mix.js 8.27 kB 0 [emitted] mix
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @ development: 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! Exit status 2
npm ERR!
npm ERR! Failed at the @ development script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/sunny/.npm/_logs/2017-12-21T17_00_33_319Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @ dev: npm run development
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @ dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/sunny/.npm/_logs/2017-12-21T17_00_33_347Z-debug.log
node_modules安装问题,执行以下:
rm -rf node_modules
rm package-lock.json
npm cache clear --force
npm install
推荐阅读
-
npm run dev 报错 ERROR in Entry module not found: Error: Can't resolve './src' in
-
npm run dev 启动错误:Module build failed: Error: No PostCSS Config found in:xxxxxxxxxxxxxx
-
安装webpack遇到npm ERR! code E502以及npm ERR! A complete log of this run can be found in等问题的解决办法
-
npm run dev 报错 Module build failed: Error: Cannot find module 'prettier'
-
Deepin运行 npm run dev 出错 Error: watch /VueProjects/vue-element-admin-master/mock ENOSPC
-
输入npm install 报错npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] postinstall: `no
-
npm install报错:ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1
-
npm run dev error [npm ERR! code ELIFECYCLE]
-
执行npm run dev 出现错误 Error: listen EADDRINUSE :::8080
-
npm run dev 之后 Error: getaddrinfo ENOTFOUND localhost