npm adduser报错
发布于 1年前 作者 khowarizmi 549 次浏览
root[@khowarizmi](/user/khowarizmi):~# npm adduser
Username: khowarizmi
Password: 
Email: (this IS public) ...
npm http PUT https://registry.npmjs.org/-/user/org.couchdb.user:khowarizmi
npm http 503 https://registry.npmjs.org/-/user/org.couchdb.user:khowarizmi
npm ERR! registry error parsing json
npm http PUT https://registry.npmjs.org/-/user/org.couchdb.user:khowarizmi
npm http 503 https://registry.npmjs.org/-/user/org.couchdb.user:khowarizmi
npm ERR! registry error parsing json
npm ERR! SyntaxError: Unexpected token <
npm ERR! 
npm ERR! <?xml version="1.0" encoding="utf-8"?>
npm ERR! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
npm ERR! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
npm ERR! <html>
npm ERR! <head>
npm ERR! <title>503 Backend is unhealthy</title>
npm ERR! </head>
npm ERR! <body>
npm ERR! <h1>Error 503 Backend is unhealthy</h1>
npm ERR! <p>Backend is unhealthy</p>
npm ERR! <h3>Guru Meditation:</h3>
npm ERR! <p>XID: 2564329298</p>
npm ERR! <hr>
npm ERR! <p>Varnish cache server</p>
npm ERR! </body>
npm ERR! </html>
npm ERR! 
npm ERR! at Object.parse (native)
npm ERR! at RegClient.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:203:23)
npm ERR! at Request.self.callback (/usr/lib/node_modules/npm/node_modules/request/request.js:123:22)
npm ERR! at Request.EventEmitter.emit (events.js:98:17)
npm ERR! at Request.<anonymous> (/usr/lib/node_modules/npm/node_modules/request/request.js:893:14)
npm ERR! at Request.EventEmitter.emit (events.js:117:20)
npm ERR! at IncomingMessage.<anonymous> (/usr/lib/node_modules/npm/node_modules/request/request.js:844:12)
npm ERR! at IncomingMessage.EventEmitter.emit (events.js:117:20)
npm ERR! at _stream_readable.js:920:16
npm ERR! at process._tickCallback (node.js:415:13)
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 Linux 3.11.0-12-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "adduser"
npm ERR! cwd /root
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! type unexpected_token
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR! /root/npm-debug.log
npm ERR! not ok code 0

查了一下有说把email添加到.npmrc的,但依旧报错 在vps上试了adduser报同样的错,有谁也遇到过?

6 回复

adduser 没遇到过, 安装包的时候有遇到 parse error的错误

npm 服务貌似有问题, 现在publish 也报错

感觉只能等了= =

@npmjs:

seeing a lot of publish errors. we apologize for this crappiness. @izs and @ceejbot and @jacques are actively working on it.

有钱不一定能解决问题…

今天好了=。=

回到顶部