vuejs / vue-cli

🛠️ webpack-based tooling for Vue.js Development
https://cli.vuejs.org/
MIT License
29.75k stars 6.33k forks source link

升级到5.0.8后 运行vue-cli-service serve(yarn serve) 控制台不显示running at: loclahost://8080的link,感觉vue-cli-service server快速的运行了2次 #7359

Open yurizhang opened 1 year ago

yurizhang commented 1 year ago

Version

5.0.8

Environment info

 System:
    OS: Windows 10 10.0.19042
    CPU: (6) x64 Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz
  Binaries:
    Node: 18.12.1 - D:\Program Files\nodejs\node.EXE
    Yarn: 1.22.5 - D:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 8.19.2 - D:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 105.0.5195.102
    Edge: Spartan (44.19041.1266.0), Chromium (110.0.1587.57), ChromiumDev (111.0.1660.14)
  npmPackages:
    @ant-design/icons-vue: ^6.0.1 => 6.1.0
    @intlify/vue-devtools:  9.2.2
    @vue/babel-helper-vue-jsx-merge-props:  1.4.0
    @vue/babel-helper-vue-transform-on:  1.0.2
    @vue/babel-plugin-jsx:  1.1.1
    @vue/babel-plugin-transform-vue-jsx:  1.4.0
    @vue/babel-preset-app:  5.0.8
    @vue/babel-preset-jsx:  1.4.0
    @vue/babel-sugar-composition-api-inject-h:  1.4.0
    @vue/babel-sugar-composition-api-render-instance:  1.4.0
    @vue/babel-sugar-functional-vue:  1.4.0
    @vue/babel-sugar-inject-h:  1.4.0
    @vue/babel-sugar-v-model:  1.4.0
    @vue/babel-sugar-v-on:  1.4.0
    @vue/cli-overlay:  5.0.8
    @vue/cli-plugin-babel: ~5.0.8 => 5.0.8
    @vue/cli-plugin-eslint: ~5.0.8 => 5.0.8
    @vue/cli-plugin-router:  5.0.8
    @vue/cli-plugin-vuex:  5.0.8
    @vue/cli-service: ~5.0.8 => 5.0.8
    @vue/cli-shared-utils:  5.0.8
    @vue/compiler-core:  3.2.30 (3.2.47)
    @vue/compiler-dom:  3.2.30 (3.2.47)
    @vue/compiler-sfc: ^3.1.0 => 3.2.47 (3.2.30)
    @vue/compiler-ssr:  3.2.30 (3.2.47)
    @vue/component-compiler-utils:  3.3.0
    @vue/devtools-api:  6.5.0
    @vue/reactivity:  3.2.30
    @vue/reactivity-transform:  3.2.47 (3.2.30)
    @vue/runtime-core:  3.2.30
    @vue/runtime-dom:  3.2.30
    @vue/server-renderer:  3.2.30
    @vue/shared:  3.2.30 (3.2.47)
    @vue/web-component-wrapper:  1.3.0
    ant-design-vue: 3.2.12 => 3.2.12
    eslint-plugin-vue: ^8.3.0 => 8.7.1
    vue: 3.2.30 => 3.2.30
    vue-eslint-parser:  8.3.0
    vue-hot-reload-api:  2.3.4
    vue-i18n: ^9.2.0 => 9.2.2
    vue-loader:  17.0.1 (15.10.1)
    vue-router: ^4.0.14 => 4.1.6
    vue-style-loader:  4.1.3
    vue-template-es2015-compiler:  1.9.1
    vue-types:  3.0.2
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce

vue upgrade yarn serve

What is expected?

和之前一样,控制台显示localhsot://8080

What is actually happening?

升级到5.0.8后 运行vue-cli-service server(yarn serve) 控制台不显示loclahost://8080的link,感觉vue-cli-service server快速的运行了2次 image

yurizhang commented 1 year ago

手动在地址栏输入:http://localhost:8080/

是可以 正常运行的~

yurizhang commented 1 year ago

特么的估计也没有人维护了,我转到vite4去了

LuoRiWuSheng commented 10 months ago

对照我这个依赖对比一下 https://juejin.cn/post/7298646156438355968

LuoRiWuSheng commented 10 months ago

有些不必要的包 ,升级到 5.0.8 以后改移除就移除