//现在是我好像在终端输入了设置代理的命令npm config set proxy http://127.0.0.l和npm config set https-proxy http://127.0.0.1,然后我就不能下载第三方包了,求解
npm ERR! code ECONNREFUSED
npm ERR! errno ECONNREFUSED
npm ERR! FetchError: request to http://registry.npmjs.org/moment failed, reason: connect ECONNREFUSED 127.0.0.1:80
npm ERR! at ClientRequest.<anonymous> (D:\nodejs\node_modules\npm\node_modules\node-fetch-npm\src\index.js:68:14)
npm ERR! at ClientRequest.emit (events.js:400:28)
npm ERR! at Socket.socketErrorListener (_http_client.js:475:9)
npm ERR! at Socket.emit (events.js:400:28)
npm ERR! at emitErrorNT (internal/streams/destroy.js:106:8)
npm ERR! at emitErrorCloseNT (internal/streams/destroy.js:74:3)
npm ERR! at processTicksAndRejections (internal/process/task_queues.js:82:21)
npm ERR! FetchError: request to http://registry.npmjs.org/moment failed, reason: connect ECONNREFUSED 127.0.0.1:80
npm ERR! at ClientRequest.<anonymous> (D:\nodejs\node_modules\npm\node_modules\node-fetch-npm\src\index.js:68:14)
npm ERR! at ClientRequest.emit (events.js:400:28)
npm ERR! at Socket.socketErrorListener (_http_client.js:475:9)
npm ERR! at Socket.emit (events.js:400:28)
npm ERR! at emitErrorNT (internal/streams/destroy.js:106:8)
npm ERR! at emitErrorCloseNT (internal/streams/destroy.js:74:3)
npm ERR! at processTicksAndRejections (internal/process/task_queues.js:82:21) {
npm ERR! type: 'system',
npm ERR! errno: 'ECONNREFUSED',
npm ERR! code: 'ECONNREFUSED'
npm ERR! }
npm ERR!
npm ERR! If you are behind a proxy, please make sure that the
npm ERR! '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\79274\AppData\Roaming\npm-cache\_logs\2021-10-12T13_34_16_713Z-debug.log