vue@1.2.2 dev: `webpack-dev-server --inline --progress --config build/webpack.dev.conf.

冷宏茂
2023-12-01

Vue 启动报错

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! renren-fast-vue@1.2.2 dev: `webpack-dev-server --inline --progress --config build/webpack.dev.conf.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the renren-fast-vue@1.2.2 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 remove webpack-dev-server
// 安装老版本 (可指定版本)
npm install webpack-dev-server@2.9.1

再运行 npm run dev

 类似资料: