Skip to content

Uncaught TypeError: socket.get is not a function #25

@ibrahimovfuad

Description

@ibrahimovfuad

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions