##错误
[webpack-cli] TypeError: cli.isMultipleCompiler is not a function
at Command.<anonymous> (D:\nodejs\vue谷粒外卖\webpack源码\webpack_code\node_modules\@webpack-cli\serve\lib\index.js:146:35)
at async Promise.all (index 1)
at async Command.<anonymous> (D:\nodejs\vue谷粒外卖\webpack源码\webpack_code\node_modules\webpack-cli\lib\webpack-cli.js:1674:7)
这个版本低了,
解决
#卸载
npm uninstall webpack-cli
#下载高版本
npm -D install webpack-cli@5.0.0