• I'm trying to load the GPS module onto my puck.js using the loadModule function at in the "Internet-enabled Espruino" section at https://www.espruino.com/Modules (I'm not using the Espruino Web IDE, but am trying to get things working from a web application I'm running locally on XAMPP).

    1) I call the code from my web application, and it seems to load the GPS module, but I get an error "Uncaught ReferenceError: exports is not defined at GPS.js:41"
    2) Is that the correct process? Or should I be writing the code to the puck instead of including it in a file in my web application?

    Many thanks for any suggestions.

About