Error: Cannot find module 'webpack-cli/bin/config-yargs'解决方案

执行npm run start 报错

 

 查了一下是因为版本号错误,更正版本号即可。

"webpack": "^4.17.1",
"webpack-cli": "^3.3.9", "webpack-dev-server": "^3.8.2"

 

posted @ 2020-12-08 10:26  凹润之之之  阅读(139)  评论(0编辑  收藏  举报