1

我是学习 node.js 并在此处复制和粘贴 npm-debug.txt 文件的详细信息的新手:

如何最好地描述此错误以及如何修复它?

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'init' ]
2 info using npm@1.3.11
3 info using node@v0.10.20
4 verbose node symlink C:\Program Files\nodejs\\node.exe
5 silly package data undefined
6 info init written successfully
7 error Error: canceled
7 error     at Interface.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\read\lib\read.js:66:13)
7 error     at Interface.EventEmitter.emit (events.js:92:17)
7 error     at Interface._ttyWrite (readline.js:620:16)
7 error     at ReadStream.onkeypress (readline.js:99:10)
7 error     at ReadStream.EventEmitter.emit (events.js:98:17)
7 error     at emitKey (readline.js:1095:12)
7 error     at ReadStream.onData (readline.js:840:14)
7 error     at ReadStream.EventEmitter.emit (events.js:95:17)
7 error     at ReadStream.<anonymous> (_stream_readable.js:746:14)
7 error     at ReadStream.EventEmitter.emit (events.js:92:17)
8 error If you need help, you may report this log at:
8 error     <http://github.com/isaacs/npm/issues>
8 error or email it to:
8 error     <npm-@googlegroups.com>
9 error System Windows_NT 6.1.7601
10 error command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "init"
11 error cwd C:\web-design\node.js\node_modules
12 error node -v v0.10.20
13 error npm -v 1.3.11
14 verbose exit [ 1, true ]
4

1 回答 1

-2

看起来您的代码存在错误。检查出。

于 2013-10-16T22:46:12.930 回答