Laravel5.4 编译器 Laravel Mix 遇到的坑怎么填?
npm run dev就会出现下面的报错
npm ERR! code ELIFECYCLE
npm ERR! errno 1
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 1
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! C:\Users\MaiBenBen\AppData\Roaming\npm-cache_logs\2017-07-23T03_18_53_589Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ dev:npm run development
npm ERR! Exit status 1
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! C:\Users\MaiBenBen\AppData\Roaming\npm-cache_logs\2017-07-23T03_18_53_645Z-debug.log
推荐文章: