My guess is the IDE is set to automatically minify modules, so when you include via the IDE they get minified.
Espruino doesn't handle let with scoping, so it's possible if you have used let in your code a lot the minifier has decided to name two variables a in the same function, and that's causing some issues? Maybe if you disable module minification in the IDE settings it'll work which will at least prove the problem?
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.
My guess is the IDE is set to automatically minify modules, so when you include via the IDE they get minified.
Espruino doesn't handle
let
with scoping, so it's possible if you have usedlet
in your code a lot the minifier has decided to name two variablesa
in the same function, and that's causing some issues? Maybe if you disable module minification in the IDE settings it'll work which will at least prove the problem?