Are you sending that from the right-hand side of the IDE, or typing it into the left hand side? You need to send from right side - the IDE sees the require call, fetches the module from espruino.com/modules, and sends that (after sending code, you can press the up arrow to see history of commands, and you'll see the Modules.addCached() and the code for the module.
Yes, I tried that, but it didn't work, so I started to play in the left side.
Fortunately, the issue was just in IDE failing to download modules to default location.
Thanks!
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.
Are you sending that from the right-hand side of the IDE, or typing it into the left hand side? You need to send from right side - the IDE sees the require call, fetches the module from espruino.com/modules, and sends that (after sending code, you can press the up arrow to see history of commands, and you'll see the Modules.addCached() and the code for the module.