yarn serve
yarn run v1.22.10
$ vue-cli-service serve
 INFO  Starting development server...
10% building 2/2 modules 0 active ERROR  TypeError: Cannot read properties of undefined (reading 'upgrade')
TypeError: Cannot read properties of undefined (reading 'upgrade')
    at Server.<anonymous> (/Users/ivyone/vue3-melon/node_modules/webpack-dev-server/lib/Server.js:135:47)
    at Array.forEach (<anonymous>)
    at new Server (/Users/ivyone/vue3-melon/node_modules/webpack-dev-server/lib/Server.js:134:27)
    at serve (/Users/ivyone/vue3-melon/node_modules/@vue/cli-service/lib/commands/serve.js:172:20)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Logo

基于 Vue 的企业级 UI 组件库和中后台系统解决方案,为数万开发者服务。

更多推荐