You are reading a single comment by @Robin and its replies. Click here to read the full conversation.
  • Hi There

    I am afraid I am complete newbee of Espruino, so please forgive me if this is some thing silly. I am hoping to use module but not have much luck

    I am on Mac OsX and using the web IDE, I can see the projects so I think i am using the correct program.

    on my root folder I've set up a project folder called 'Espruino' and have gone into the setting -> project and set the sandbox as ~/Espruino this created lots of folders including modules, I copied my module in there

    now when i run my first line of code ie

    const PoweredUP = require("node-poweredup");

    it say the module can not be found am I doing something daft ?

    Any Help would greatly appreciated

    Cheers

    James

  • Fri 2019.12.06

    Hi James, any more detail revealed in
    WebIDE >> Settings >> Console

    Is node-poweredup.js in folder \Modules and calling code.js in \?????

    Not at development PC, on lunch break, more later this eve


    EDIT:
    Calling code.js file would reside in \Projects

About

Avatar for Robin @Robin started