Espruino CLI and local modules #1123
Replies: 3 comments
-
Posted at 2017-10-23 by @gfwilliams It should be fine - just stick anything you want in a |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-10-23 by n00b Does that mean I need to start the CLI in a path that has "modules" folder? e.g. \projects is where .js file is, and modules is in \projects\modules? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-10-23 by @gfwilliams I believe so, yes. Thinking about it, it's possible that the module loader doesn't take the path of the file into account - only the current directory. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-10-22 by n00b
Is it possible to use local modules with the CLI? The web IDE works great, but when I used the CLI, I get module not found error for my local modules.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions