I remembered, but was unable to locate another individual post (around three-four months ago) that was attempting to use the projects folder, but it was suggested to place module code between var exports={}; and test that way.
While searching for that post, I did uncover this, where it seems an attempt was made to resolve this, but never completed. Maybe we are at that point again to revisit again?
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.
Sun 2018.09.09
later same day . . .
Back at it, several times, but with no luck. Console reveals that it doesn't appear to even be looking for the local folder.
allObjects see new post:
http://forum.espruino.com/conversations/325378/
I remembered, but was unable to locate another individual post (around three-four months ago) that was attempting to use the projects folder, but it was suggested to place module code between
var exports={};
and test that way.While searching for that post, I did uncover this, where it seems an attempt was made to resolve this, but never completed. Maybe we are at that point again to revisit again?
http://forum.espruino.com/comments/14110348/
WinXP: how can I require() some locally held modules?
https://github.com/espruino/EspruinoWebIDE/issues/186
I'm at ver 0.68.6 from install ~six months ago. What version of native IDE are you using, and on a Windows PC allObjects?
EDIT
By using instructions at https://www.espruino.com/Modules
was able to create repository link to test
require("https://github.com/sleuthware/EspruinoDocs/blob/master/modules/testLED.js").create();