instale o socket.io no ubuntu
Estou trabalhando em um aplicativo em tempo real e estou usando terceiros para fazer isso. Mas agora eu tenho que usar node.js com socket.io em vez de terceiros.
Eu instalei o node.js (v0.4.12) corretamente e eu verifiquei usando o comandonode -v
. mas quando eu estava instalado o socket.io usandonpm install socket.io
comando eu tenho esse erro.
npm ERR! install failed Error: Required package: options(latest) not found. (Found: ["0.0.3"])
npm ERR! install failed (required by: [email protected])
npm ERR! install failed at /usr/share/npm/lib/build.js:192:19
npm ERR! install failed at cb (/usr/share/npm/lib/utils/graceful-fs.js:32:9)
npm ERR! Error: Required package: options(latest) not found. (Found: ["0.0.3"])
npm ERR! (required by: [email protected])
npm ERR! at /usr/share/npm/lib/build.js:192:19
npm ERR! at cb (/usr/share/npm/lib/utils/graceful-fs.js:32:9)
npm ERR! Report this *entire* log at <http://github.com/isaacs/npm/issues>
npm ERR! or email it to <[email protected]>
npm ERR! Just tweeting a tiny part of the error will not be helpful.
npm not ok
Como posso resolver isso?