vue脚手架无法加载错误记录

Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。

尝试新的跨平台 PowerShell https://aka.ms/pscore6

+ d
+ CategoryInfo : ObjectNotFound: (d:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

PS C:\Users\Administrator> d:
PS D:\> cd D:\App\vue
PS D:\App\vue> node -v
v14.4.0
PS D:\App\vue> npm -v
PS D:\App\vue> vue uninstall -g vue-cli
vue : 无法将“vue”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试
一次。
所在位置 行:1 字符: 1
+ vue uninstall -g vue-cli
+ ~~~
+ CategoryInfo : ObjectNotFound: (vue:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS D:\App\vue> vue install -g vue-cli
vue : 无法将“vue”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试
一次。
所在位置 行:1 字符: 1
+ vue install -g vue-cli
+ ~~~
+ CategoryInfo : ObjectNotFound: (vue:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS D:\App\vue> vue install -g vue-cli
vue : 无法将“vue”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试
一次。
所在位置 行:1 字符: 1
+ vue install -g vue-cli
+ ~~~
+ CategoryInfo : ObjectNotFound: (vue:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS D:\App\vue> npm install vue-cli -g
npm ERR! code ECONNREFUSED
npm ERR! errno ECONNREFUSED
npm ERR! FetchError: request to https://registry.npmjs.org/vue-cli failed, reason: connect ECONNREFUSED 127.0.0.1:443
npm ERR! at ClientRequest.<anonymous> (D:\Program Files\nodejs\node_modules\npm\node_modules\node-fetch-npm\src\index.js:68:14)
npm ERR! at ClientRequest.emit (events.js:315:20)
npm ERR! at TLSSocket.socketErrorListener (_http_client.js:467:9)
npm ERR! at TLSSocket.emit (events.js:315:20)
npm ERR! at emitErrorNT (internal/streams/destroy.js:100:8)
npm ERR! at emitErrorCloseNT (internal/streams/destroy.js:68:3)
npm ERR! at processTicksAndRejections (internal/process/task_queues.js:84:21)
PS D:\App\vue> node -v
v14.4.0
PS D:\App\vue> npm -v
6.14.5
npm ERR! code ECONNRESET
npm ERR! network request to http://registry.cnpmjs.org/vue-cli failed, reason: read ECONNRESET
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network

npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2022-01-05T10_36_41_935Z-debug.log
PS D:\App\vue> npm config get registry
http://registry.cnpmjs.org/
PS D:\App\vue> npm install --registry=https://registry.npm.taobao.org
npm WARN hell@1.0.0 No description
npm WARN hell@1.0.0 No repository field.

up to date in 1.313s
PS D:\App\vue> npm config get registry
http://registry.cnpmjs.org/
PS D:\App\vue> npm install --registry=https://registry.npm.taobao.org
npm WARN hell@1.0.0 No repository field.

up to date in 1.344s
PS D:\App\vue> npm config set registry https://registry.npm.taobao.org --global
PS D:\App\vue> npm config get registry
http://registry.cnpmjs.org/
PS D:\App\vue> npm install vue-cli -g
npm ERR! code ECONNRESET
npm ERR! network request to http://registry.cnpmjs.org/vue-cli failed, reason: read ECONNRESET
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2022-01-05T10_42_42_763Z-debug.log
PS D:\App\vue> npm install npm -g -registry=https://registry.npm.taobao.org
C:\Users\Administrator\AppData\Roaming\npm\npm -> C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js
npm WARN notsup Unsupported engine for npm@8.3.0: wanted: {"node":"^12.13.0 || ^14.15.0 || >=16"} (current: {"node":"14.4.0","npm":"6.14.5"})
npm WARN notsup Not compatible with your version of node/npm: npm@8.3.0

added 214 packages from 96 contributors in 8.651s
PS D:\App\vue> npm config get registry
npm does not support Node.js v14.4.0
You should probably upgrade to a newer version of node as we
can't make any promises that npm will work with this version.
You can find the latest version at https://nodejs.org/
http://registry.cnpmjs.org/
PS D:\App\vue> npm install vue-cli -g
npm does not support Node.js v14.4.0
You should probably upgrade to a newer version of node as we
can't make any promises that npm will work with this version.
You can find the latest version at https://nodejs.org/
npm ERR! code ECONNRESET
npm ERR! syscall read
npm ERR! errno ECONNRESET
npm ERR! network request to http://registry.cnpmjs.org/vue-cli failed, reason: read ECONNRESET
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Local\npm-cache\_logs\2022-01-05T10_44_59_872Z-debug-0.log
PS D:\App\vue> npm config set strict-ssl false
npm does not support Node.js v14.4.0
You should probably upgrade to a newer version of node as we
can't make any promises that npm will work with this version.
You can find the latest version at https://nodejs.org/
PS D:\App\vue> npm install -g supervisor
npm does not support Node.js v14.4.0
You should probably upgrade to a newer version of node as we
can't make any promises that npm will work with this version.
You can find the latest version at https://nodejs.org/
npm ERR! code ECONNRESET
npm ERR! syscall read
npm ERR! errno ECONNRESET
npm ERR! network request to http://registry.cnpmjs.org/supervisor failed, reason: read ECONNRESET
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Local\npm-cache\_logs\2022-01-05T10_47_47_538Z-debug-0.log
PS D:\App\vue> npm config set strict-ssl false
npm does not support Node.js v14.4.0
You should probably upgrade to a newer version of node as we
can't make any promises that npm will work with this version.
You can find the latest version at https://nodejs.org/
PS D:\App\vue> npm install -g supervisor
npm does not support Node.js v14.4.0
You should probably upgrade to a newer version of node as we
can't make any promises that npm will work with this version.
You can find the latest version at https://nodejs.org/
[..................] - idealTree:npm: sill idealTree buildDeps

上一篇:01月04日17:16:36 学习进度笔记


下一篇:golang 获取服务端的真实 IP