Ahh - how are you uploading the code? I guess it's not from the IDE, but from your own Node.js app?
Could you try uploading the code in the Espruino Web IDE and see if it works? It could be that if you're uploading via your own app then there may be issues with flow control which mean that the code doesn't get uploaded correctly.
It can be easy enough to fix, but for now, to help track down the problem, uploading via the IDE would be worth trying.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Ahh - how are you uploading the code? I guess it's not from the IDE, but from your own Node.js app?
Could you try uploading the code in the Espruino Web IDE and see if it works? It could be that if you're uploading via your own app then there may be issues with flow control which mean that the code doesn't get uploaded correctly.
It can be easy enough to fix, but for now, to help track down the problem, uploading via the IDE would be worth trying.