Socket.io

HI guys! Does anyone have problems installing socket.io? I’ve being following a lot of ways to install that, but always I only have errors…

npm install
npm install socket.io
npm config set registry http://registry.npmjs.org/

Not sure you already solved it or not, but i guess your errors coming from an outdated nodejs version, try first installing the latest nodejs

Did you solve your problem ? I’ve just finished installing node onto my pi and I’ve successfully installed extra packages too.

I didnt solve the socket.io problem, but I followed other way and I dont need now the socket. By the way, What extra packages you installed? I could need that it the future…

THANKS!! :smile:

I installed i2c-bus and pi-spi using the regular npm install p2c-bus --save method