GoodLuckAlien/React-Advanced-Guide-Pro

npm start error

Opened this issue · 0 comments

package文件中添加了
"webpack": "^4.0.0",
"webpack-cli": "^3.3.0",
"webpack-dev-server": "^3.1.10",

npm install rux-cli -g 安装过了,执行 npm start 报错
node 版本:14.20.0

ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-keepalive-router-demo@1.0.0 start: webpack-dev-server --config ./config/webpack.base.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-keepalive-router-demo@1.0.0 start 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/gchaoxu/.npm/_logs/2022-09-07T14_24_48_455Z-debug.log

帮看下这个问题吧,谢谢