node js构建实时聊天错误

时间:2017-06-19 10:26:16

标签: node.js chat

我正在使用nodejs创建一个实时聊天应用程序,但在给出命令npm i simple-nodejs-chat时,我得到了以下内容:

D:\chat>npm i simple-nodejs-chat
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "i" "simple-nodejs-chat"
npm ERR! node v7.1.0
npm ERR! npm  v3.10.9
npm ERR! code ENOSELF

npm ERR! Refusing to install simple-nodejs-chat as a dependency of itself
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     D:\chat\npm-debug.log

请帮助。

0 个答案:

没有答案
相关问题