AmberLee
2018-09-15 20:47
我运行npm run build 时,提示我安装webpack-cli 我不装行不行?你们有没有遇到这个问题
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! todo@1.0.0 build: `webpack --config webpack.config.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the todo@1.0.0 build 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\hyc-lhj\AppData\Roaming\npm-cache\_logs\2018-10-15T10_19_42_277Z-debug.log
这个是什么,调不对啊,
npm ERR! missing script: build
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2018-09-28T07_18_50_143Z-debug.log
我碰到这个问题,好蛋疼
不安装不行,一定要安装。
Vue+Webpack打造todo应用
84606 学习 · 787 问题
相似问题
回答 2
回答 1
回答 1
回答 2
回答 4