1

所以我试图在我的机器上安装socket.io,我遇到了这个小宝石:

[ME ~]$ sudo npm install socket.io
npm ERR! Error: ENOTFOUND, Domain name not found
npm ERR!     at IOWatcher.callback (dns.js:74:15)
npm ERR! Report this *entire* log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
npm ERR!
npm ERR! System Linux 2.6.35.13-92.fc14.x86_64
npm ERR! command "node" "/usr/bin/npm" "install" "socket.io"
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/ME/npm-debug.log
npm not ok
[ME ~]$

我不知道这是否与我的防火墙、我安装的 npm 或其他类似问题有关……有人遇到过类似的问题吗?

4

0 回答 0