-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"io is not defined" error when using MEAN.js #77
Comments
make sure you have socket.io client library: |
Thanks @jasonshark that was the solution for me. I was trying to get this working in the Ionic Framework. |
Closing, since this seems to have been resolved. It's also documented in the README. |
This didn't fix my problem with this same error. I've reposted: #127
This didn't fix my problem with this same error.
.factory('seatStatusSocket',function(socketFactory){
|
Hey everyone, I'm using [email protected] and I have made a gist of my angular controller here:
https://gist.github.com/skyserpent/832f980ca9ed9ed30e4b
My JS assets are loaded like this:
...
'//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.16/socket.io.min.js',
'public/lib/angular-socket-io/socket.js'
I have even included 'btford.socket-io' in Angular's 'applicationModuleVendorDependencies' but for some reason I get an error saying "io is not defined" in line 6 of the gist I uploaded.
Any help is much appreciated.
The text was updated successfully, but these errors were encountered: