I am using your app.js file and i have an error like a Uncaught TypeError: socket.get is not a function when i am trying to make a requet socket.get("/user/subscribe");
but in browser console sails.io is connected .
this is what i see in console
Connecting to Sails.js...
app.js:20 Uncaught TypeError: socket.get is not a function
|> Now connected to Sails.
___/ For help, see: http://bit.ly/1DmTvgK
(using browser SDK @v0.11.0)