lyxxyl207007
2015-01-06 06:57
采纳率: 100%
浏览 17.0k
已采纳

NPM 下包的时候报错了,高手帮我看看,谢谢

C:\Users>npm install -g ionic
npm ERR! registry error parsing json
npm ERR! SyntaxError: Unexpected token <
npm ERR!
npm ERR!


npm ERR!
npm ERR! 404 Not Found
npm ERR!
npm ERR!
npm ERR!

Error: Not Found


npm ERR!

The requested URL /_gh/ was not found on this ser
npm ERR!


npm ERR!
npm ERR!
npm ERR! at Object.parse (native)
npm ERR! at RegClient. (D:\program file\nodejs\node_modules\
est.js:274:23)
npm ERR! at Request._callback (D:\program file\nodejs\node_modules\npm\
js:246:65)
npm ERR! at Request.self.callback (D:\program file\nodejs\node_modules\
npm ERR! at Request.emit (events.js:98:17)
npm ERR! at Request. (D:\program file\nodejs\node_modules\np
npm ERR! at Request.emit (events.js:117:20)
npm ERR! at IncomingMessage. (D:\program file\nodejs\node_mo
6:12)
npm ERR! at IncomingMessage.emit (events.js:117:20)
npm ERR! at _stream_readable.js:944: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 Windows_NT 6.2.9200
npm ERR! command "D:\program file\nodejs\\node.exe" "D:\program file\
install" "-g" "ionic"
npm ERR! cwd C:\Users\lvyinxi
npm ERR! node -v v0.10.35
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! C:\Users\lvyinxi\npm-debug.log
npm ERR! not ok code 0

2条回答 默认 最新

相关推荐 更多相似问题