出于某种原因,每当我尝试安装任何软件包时,我都会收到此错误 . 我尝试更新npm,但即使这样也会出现此错误 . 有谁知道如何解决这个问题?

nvm当前:v0.10.32

npm v:1.4.28

在.nanorc:

registry.npmjs.org/:_authToken=xxxx-xxxx-xxxx-xxxx-xxxx(封锁令牌)

严格的SSL =假

registry = http://registry.npmjs.org

实际错误消息:

npm ERR! registry error parsing json
npm ERR! registry error parsing json
npm ERR! registry error parsing json
npm ERR! SyntaxError: Unexpected token <
npm ERR! <html>
npm ERR! <head>
npm ERR! <title>Fastly error: unknown domain</title>
npm ERR! </head>
npm ERR! <body>
npm ERR! Fastly error: unknown domain. Please check that this domain has been added to a service.
npm ERR! </body>
npm ERR! </html>
npm ERR!     at Object.parse (native)
npm ERR!     at RegClient.<anonymous> (/Users/jeongminlee/.nvm/v0.10.32/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:274:23)
npm ERR!     at Request._callback (/Users/jeongminlee/.nvm/v0.10.32/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:246:65)
npm ERR!     at Request.self.callback (/Users/jeongminlee/.nvm/v0.10.32/lib/node_modules/npm/node_modules/request/request.js:236:22)
npm ERR!     at Request.emit (events.js:98:17)
npm ERR!     at Request.<anonymous> (/Users/jeongminlee/.nvm/v0.10.32/lib/node_modules/npm/node_modules/request/request.js:1142:14)
npm ERR!     at Request.emit (events.js:117:20)
npm ERR!     at IncomingMessage.<anonymous> (/Users/jeongminlee/.nvm/v0.10.32/lib/node_modules/npm/node_modules/request/request.js:1096:12)
npm ERR!     at IncomingMessage.emit (events.js:117:20)
npm ERR!     at _stream_readable.js:943:16
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Darwin 17.3.0
npm ERR! command "/Users/jeongminlee/.nvm/v0.10.32/bin/node" "/Users/jeongminlee/.nvm/v0.10.32/bin/npm" "install" "npm" "-g"
npm ERR! cwd /Users/jeongminlee
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! type unexpected_token
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/jeongminlee/npm-debug.log
npm ERR! not ok code 0