Fix for error Failed to require socket.io from root