执行npx webpack 显示的错误信息 原因分析 有两种错误写法: 错误写法一: 错误写法二: 解决方法: 注意: CleanWebpackPlugin的c要大写,因为clean-webpack-plugin导出的是CleanWebpackPlugin。