Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vue.js/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/sorting/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Vue.js 尝试使用npm install-g@vue/cli安装vue cli,但出现此错误_Vue.js - Fatal编程技术网

Vue.js 尝试使用npm install-g@vue/cli安装vue cli,但出现此错误

Vue.js 尝试使用npm install-g@vue/cli安装vue cli,但出现此错误,vue.js,Vue.js,我正在尝试使用npm install-g@vue/cli安装vue cli,但出现以下错误: npm WARN deprecated @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411) npm WARN deprecated request@2.88.2: request has been depr

我正在尝试使用npm install-g@vue/cli安装vue cli,但出现以下错误:

npm WARN deprecated @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm ERR! Response timeout while trying to fetch https://registry.npmjs.org/typescript (over 30000ms)

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\umage\AppData\Roaming\npm-cache\_logs\2020-10-17T16_20_00_242Z-debug.log

可能是什么问题?

安装时,您的网络连接是否可能不稳定或断开?我认为网络连接不是问题所在