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"
执行npm run start 报错
查了一下是因为版本号错误,更正版本号即可。
"webpack": "^4.17.1",
"webpack-cli": "^3.3.9", "webpack-dev-server": "^3.8.2"