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
Websocket Not defined after set process.title #106
Comments
I am also getting this error exclusively on linux mint 15 with node 0.10, the same code works on mac os 10. |
I've the same problem on Windows 7... any suggestion? |
Same as issue #87? Try setting inNode: true option. |
Yes!! !! thank you!! this is the solution!! on win 7 the inNode option takes false value if you don't overwrite it! |
I have written #136 to specifically test for the non-existence of WebSockets in the browser and hopefully throw up better informative messages in this situation. |
I have the same problem, when I run node.js in the examples folder (I am using leapjs 0.2.2). Where can I set "inNode: true" option? |
this works fine for me... var controller = new Leap.Controller({ inNode: true, enableGestures: true}); |
…ixes #106 Unfortunately, there's no great way to test this, but it checks out under parallels.
Change inNode check for windows compatability, fixes #106
If process.title is set, then it throws.
ReferenceError: WebSocket is not defined
at [object Object].Connection.setupSocket (/home/nstal/workspace/leap-mouse/node_modules/leapjs/lib/connection.js:5:20)
at [object Object].BaseConnection.connect (/home/nstal/workspace/leap-mouse/node_modules/leapjs/lib/base_connection.js:82:22)
at [object Object].Controller.connect (/home/nstal/workspace/leap-mouse/node_modules/leapjs/lib/controller.js:85:23)
at Object. (/home/nstal/workspace/leap-mouse/main.coffee:106:11, :177:14)
at Object. (/home/nstal/workspace/leap-mouse/main.coffee:1:1, :179:4)
at Module._compile (module.js:456:26)
The text was updated successfully, but these errors were encountered: