-
-
Notifications
You must be signed in to change notification settings - Fork 749
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
Espruino ESP32 missing "ws" module? #1832
Comments
WS is a JS module check this page http://www.espruino.com/ws |
WebSockets are an integral part of today web comunication. |
Well some parts are easyer to add via module like ws or mqtt. Espruino is following the concept of adding modules via javascript to keep the firmware small. You still have the possibility to build your own firmware and add what ever is needed for your projects. |
I understand, but when I do var WebSocket = require("ws"); It just doesn't work even if ESP32 is connected to my access point. |
|
but..
|
Are you using the Web IDE? And uploading using code on the right hand side? http://www.espruino.com/Troubleshooting#i-get-uncaught-error-module-xyz-not-found- |
hmm yes.. but what does it have to do with |
oh.. I got it, the require is interpreted by the IDE and not by the firmware.. very strange implementation. |
WebSocket is working but host resolution is NOT.
|
also:
The text was updated successfully, but these errors were encountered: