无法启动,这是啥原因啊!各位大佬求助
E:\前端学习\vue3项目学习\vue-music-first\vue-music-first>npm run serve
> vue-music-first@0.1.0 serve
> vue-cli-service serve
INFO Starting development server...
ERROR ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- options has an unknown property 'before'. These properties are valid:
object { allowedHosts?, bonjour?, client?, compress?, devMiddleware?, headers?, historyApiFallback?, host?, hot?, http2?, https?, ipc?, liveReload?, magicHtml?, onAfterSetupMiddleware?, onBeforeSetupMiddleware?, onListening?, open?, port?, proxy?, server?, setupExitSignals?, setupMiddlewares?, static?, watchFiles?, webSocketServer? }
ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- options has an unknown property 'before'. These properties are valid:
object { allowedHosts?, bonjour?, client?, compress?, devMiddleware?, headers?, historyApiFallback?, host?, hot?, http2?, https?, ipc?, liveReload?, magicHtml?, onAfterSetupMiddleware?, onBeforeSetupMiddleware?, onListening?, open?, port?, proxy?, server?, setupExitSignals?, setupMiddlewares?, static?, watchFiles?, webSocketServer? }
at validate (E:\前端学习\vue3项目学习\vue-music-first\vue-music-first\node_modules\webpack-dev-server\node_modules\schema-utils\dist\validate.js:158:11)
at new Server (E:\前端学习\vue3项目学习\vue-music-first\vue-music-first\node_modules\webpack-dev-server\lib\Server.js:270:5)
at serve (E:\前端学习\vue3项目学习\vue-music-first\vue-music-first\node_modules\@vue\cli-service\lib\commands\serve.js:194:20)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
慕课网明星讲师黄轶深度讲解 Vue3.0 ,提升的不止是Vue代码能力
了解课程