C:\Users\admin>npm install -g cnpm
npm ERR! code ECONNREFUSED
npm ERR! errno ECONNREFUSED
npm ERR! FetchError: request to https://registry.npmjs.org/cnpm failed, reason:
connect ECONNREFUSED 127.0.0.1:1080
npm ERR! at ClientRequest.req.on.err (C:\Program Files\nodejs\node_modules\n
pm\node_modules\node-fetch-npm\src\index.js:68:14)
npm ERR! at ClientRequest.emit (events.js:182:13)
npm ERR! at onerror (C:\Program Files\nodejs\node_modules\npm\node_modules\a
gent-base\index.js:100:9)
npm ERR! at callbackError (C:\Program Files\nodejs\node_modules\npm\node_mod
ules\agent-base\index.js:122:5)
npm ERR! at process.internalTickCallback (internal/process/next_tick.js:77:7
)
1
1024MB 2018-11-16 18:28:42 +08:00 via Android
rm -fr /*
|
2
boris1993 2018-11-16 18:32:49 +08:00 via Android
ECONNREFUSED 127.0.0.1:1080
检查本机代理 |