Skip to content
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

socket.io not working #1020

Closed
zeeshanjan82 opened this issue Aug 13, 2015 · 3 comments
Closed

socket.io not working #1020

zeeshanjan82 opened this issue Aug 13, 2015 · 3 comments

Comments

@zeeshanjan82
Copy link

I have experienced a strange issue, when using socket.io client library from the cdb https://cdn.socket.io/socket.io-1.3.6.js I am able to work with socket.io properly but when using socket.io from jspm installed library either through npm install socket.io or using github github:socketio/[email protected] I get the socket.io main object undefined. I am really not sure whats causing this issue. For now I just have to include the cdn library url in my index.html file but I would really like it working through jspm.

@zeeshanjan82
Copy link
Author

@guybedford
Copy link
Member

Support for npm packages in jspm is never perfect, and this is one that needs some overrides to make it work. Issues for overrides are tracked at the jspm registry repo. I've created an issue for you at jspm/registry#525, and tracked the necessary steps to make this work.

@zeeshanjan82
Copy link
Author

Thanks @guybedford

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants