Yeoman使用安装生成器来安装webapp而不能正常工作

时间:2017-08-18 13:07:32

标签: node.js yeoman

我正在使用yeoman来安装webapp但是我有这个错误。我是nodejs的新手,所有这一切,但是当我在其他计算机上安装它时没有发生错误,所以我该如何解决这个问题。

错误

npm isParseError: Unexpected token '<' at 2:1 in http://registry.npmjs.org/-/_view/byKeyword?startkey=[%22yeoman-generator%22]&endkey=[%22yeoman-generator%22,%7B%7D]&group_level=3 <?xml version="1.0" encoding="utf-8"?> ^
at C:\Users\_monster\AppData\Roaming\npm\node_modules\yo\node_modules\npm-keyword\node_modules\got\index.js:120:14
at BufferStream.<anonymous> (C:\Users\_monster\AppData\Roaming\npm\node_modules\yo\node_modules\read-all-stream\index.js:64:3)
at emitNone (events.js:91:20)
at BufferStream.emit (events.js:185:7)
at finishMaybe (C:\Users\_monster\AppData\Roaming\npm\node_modules\yo\node_modules\readable-stream\lib\_stream_writable.js:607:14)
at endWritable (C:\Users\_monster\AppData\Roaming\npm\node_modules\yo\node_modules\readable-stream\lib\_stream_writable.js:615:3)
at BufferStream.Writable.end (C:\Users\_monster\AppData\Roaming\npm\node_modules\yo\node_modules\readable-stream\lib\_stream_writable.js:571:41)
at IncomingMessage.onend (_stream_readable.js:511:10)
at IncomingMessage.g (events.js:292:16)
at emitNone (events.js:91:20)

0 个答案:

没有答案