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

Uncaught SyntaxError while establishing the socket connection #30

Open
ashrafsarhan opened this issue Feb 21, 2018 · 1 comment
Open
Assignees
Labels

Comments

@ashrafsarhan
Copy link

Using "ng-stomp": "0.5.0" in my package.json file with the ng-stomp standalone via bower, I always get the following exception, Any solution?

Uncaught SyntaxError: JSON.parse
    at Object.function.JSON.parse.JSON.parse (ng-stomp.standalone.min.js:24)
    at c.XHRLocalObject.f.onfinish (ng-stomp.standalone.min.js:24)
    at c.XHRLocalObject.f.emit (ng-stomp.standalone.min.js:24)
    at XMLHttpRequest.g.xhr.onreadystatechange (ng-stomp.standalone.min.js:24)
@beevelop
Copy link
Owner

Wow, that one seems weird. Did you try to use the „non-standalone“ version too? Could be, that the last standalone build didn't work to great.
You can also check the update-deps branch from #29 – it might resolve your issue.

@beevelop beevelop added the ô¿ô label Mar 7, 2018
@beevelop beevelop self-assigned this Mar 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants