This is causing an old and broken version of has-cors to get installed when you try and install socket.io.