-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Description
Version
5.0.1
Environment info
Environment Info:
System:
OS: Windows 10 10.0.19043
CPU: (8) x64 Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
Binaries:
Node: 16.13.1 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 8.5.1 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 98.0.4758.102
Edge: Spartan (44.19041.1266.0), Chromium (98.0.1108.56)
npmPackages:
@vue/babel-helper-vue-jsx-merge-props: 1.2.1
@vue/babel-helper-vue-transform-on: 1.0.2
@vue/babel-plugin-jsx: 1.1.1
@vue/babel-plugin-transform-vue-jsx: 1.2.1
@vue/babel-preset-app: 4.5.15
@vue/babel-preset-jsx: 1.2.4
@vue/babel-sugar-composition-api-inject-h: 1.2.1
@vue/babel-sugar-composition-api-render-instance: 1.2.4
@vue/babel-sugar-functional-vue: 1.2.2
@vue/babel-sugar-inject-h: 1.2.2
@vue/babel-sugar-v-model: 1.2.3
@vue/babel-sugar-v-on: 1.2.3
@vue/cli-overlay: 4.5.15
@vue/cli-plugin-babel: ^4.5.15 => 4.5.15
@vue/cli-plugin-eslint: ^4.5.15 => 4.5.15
@vue/cli-plugin-router: 4.5.15
@vue/cli-plugin-typescript: ^4.5.15 => 4.5.15
@vue/cli-plugin-vuex: ^4.5.15 => 4.5.15
@vue/cli-service: ^4.5.15 => 4.5.15
@vue/cli-shared-utils: ^4.5.15 => 4.5.15
@vue/component-compiler-utils: 3.3.0
@vue/eslint-config-prettier: ^6.0.0 => 6.0.0
@vue/eslint-config-typescript: ^9.1.0 => 9.1.0
@vue/preload-webpack-plugin: 1.1.2
@vue/web-component-wrapper: 1.3.0
bootstrap-vue: ^2.21.2 => 2.21.2
eslint-plugin-vue: ^8.4.1 => 8.4.1
portal-vue: 2.1.7
typescript: ^4.5.5 => 4.5.5
vue: ^2.6.14 => 2.6.14
vue-class-component: ^7.2.6 => 7.2.6
vue-cli-plugin-bootstrap-vue: ^0.8.2 => 0.8.2
vue-eslint-parser: 8.2.0
vue-functional-data-merge: 3.1.0
vue-hot-reload-api: 2.3.4
vue-loader: 15.9.8 (16.8.3)
vue-property-decorator: ^9.1.2 => 9.1.2
vue-router: ^3.5.3 => 3.5.3
vue-style-loader: 4.1.3
vue-template-compiler: ^2.6.14 => 2.6.14
vue-template-es2015-compiler: 1.9.1
vuex: ^3.6.2 => 3.6.2
npmGlobalPackages:
@vue/cli: Not Found
Steps to reproduce
Use vue upgrade
behind a corporate firewall with proxy
What is expected?
Vue-cli should upgrade the project
What is actually happening?
Running vue upgrade
gives:
✔ Gathering package information...
ERROR Failed to get response from https://registry.npmjs.org/@vue/cli-plugin-babel
ERROR FetchError: request to https://registry.npmjs.org/@vue/cli-plugin-babel failed, reason: connect ETIMEDOUT 104.16.22.35:443
FetchError: request to https://registry.npmjs.org/@vue/cli-plugin-babel failed, reason: connect ETIMEDOUT 104.16.22.35:443
at ClientRequest. (C:\Users\dvorg22\AppData\Roaming\npm\node_modules@vue\cli\node_modules\node-fetch\lib\index.js:1491:11)
at ClientRequest.emit (node:events:390:28)
at TLSSocket.socketErrorListener (node:_http_client:447:9)
at TLSSocket.emit (node:events:390:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
npm update
is working as expected.
Running vue --version
gives: @vue/cli 5.0.1