-
Notifications
You must be signed in to change notification settings - Fork 72
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
Socketcluster-client #88
Comments
Well, Node.JS and low.js are still a little bit different in the bits and pieces and this sometimes still breaks some libs. Does the code work if you use the low.js binary with the transpile option? Just download low.js and replace node .. with /bin/low --transpile .. Note: --transpile is slow, and just for testing! It most probably will not, which is good because then both architectures behave the same and then the problem can be easily debugged on the PC. |
Hello |
Thanks for fixing this! I have build low based on the latest git version on my local PC and when I run a client it works. But how do I get the latest version on my neonious one? Seems 'lowsync update install' does not update to the latest git version? |
Can you retry now? It should update to 20200129 which does include the fix. |
The neonious is (and I think was) updated to 20200129. The cause was a main update of socketcluster-client a couple of days ago which was no longer compatible with my local version. I have managed to install the older version with lowsync install [email protected] on the neonious. I had to try this several times, but after +- 50% I received an error many times: "An error has occurred. Please make sure the microcontroller has access to the Internet." In the end it seems that the package was installed in the background succesfully. Installing an older version was not possible via the package manager in the web interface, or am I wrong? I will test it the next couple of days (also the newer version). It seems very promising: websockets on steroids with pub/sub and autoreconnect on the esp32 ;-). |
The IDE package manager interface does not support versioning, that is correct. So it was a good idea to try through lowsync. I will add the problem with the lowsync command to my list of things to look at. Till then, I am interested to hear whether the package is installed and works, even though the error was shown. |
Today I had my first experiences with lowjs and I was very excited! I wanted to use the powerful socketcluster.js framework. Therefore I installed the socketcluster-client npm package on my ESP32-WROVER-KIT. I installed it with "lowsync install socketcluster-client". The install works and i can import it in my code like this:
But I get these errors:
Any idea if this can be solved?
The code works on node.js on my local PC.
Thanks in advance!
The text was updated successfully, but these errors were encountered: