[webpack-cli] TypeError: item.plugins.unshift is not a function
at internalBuildConfig (F:\highschool\Springboot+Element备课\vue-project2023-06-18\node_modules\webpack-cli\lib\webpack-cli.js:1752:26)
at WebpackCLI.buildConfig (F:\highschool\Springboot+Element备课\vue-project2023-06-18\node_modules\webpack-cli\lib\webpack-cli.js:1766:13)
at async WebpackCLI.createCompiler (F:\highschool\Springboot+Element备课\vue-project2023-06-18\node_modules\webpack-cli\lib\webpack-cli.js:1782:18)
at async WebpackCLI.runWebpack (F:\highschool\Springboot+Element备课\vue-project2023-06-18\node_modules\webpack-cli\lib\webpack-cli.js:1877:20)
at async Command.<anonymous> (F:\highschool\Springboot+Element备课\vue-project2023-06-18\node_modules\webpack-cli\lib\webpack-cli.js:944:21)
at async Command.parseAsync (F:\highschool\Springboot+Element备课\vue-project2023-06-18\node_modules\webpack-cli\node_modules\commander\lib\command.js:935:5)
at async Command.<anonymous> (F:\highschool\Springboot+Element备课\vue-project2023-06-18\node_modules\webpack-cli\lib\webpack-cli.js:1356:13)
at async Command.parseAsync (F:\highschool\Springboot+Element备课\vue-project2023-06-18\node_modules\webpack-cli\node_modules\commander\lib\command.js:935:5)
at async WebpackCLI.run (F:\highschool\Springboot+Element备课\vue-project2023-06-18\node_modules\webpack-cli\lib\webpack-cli.js:1360:9)
at async runCLI (F:\highschool\Springboot+Element备课\vue-project2023-06-18\node_modules\webpack-cli\lib\bootstrap.js:9:9)
注释掉webpack.config.js的plugin属性
已解决