ng-stomp
ng-stomp copied to clipboard
Uncaught SyntaxError while establishing the socket connection
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)
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.