I'd really recommend that you just use EspruinoTools command-line app:
sudo npm install -g espruino espruino myfile.js
And module loading will 'just work'.
@Gordon started
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.
I'd really recommend that you just use EspruinoTools command-line app:
And module loading will 'just work'.