Looks like you have installed socket.io in a different location to your current path. Either install globally like below:
npm install -g socket.io
Or reference the location you’ve installed to:
var io = require('../lib/socket.io');
Looks like you have installed socket.io in a different location to your current path. Either install globally like below:
npm install -g socket.io
Or reference the location you’ve installed to:
var io = require('../lib/socket.io');