Do you have any other apps/widgets installed? Since by default things share a global namespace if some code overwrote the g variable you'd get an error like this.
Since it seems you're connected with the IDE maybe you could just look at what g actually is? It might give you some clues as to where it is being overwritten
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.
Do you have any other apps/widgets installed? Since by default things share a global namespace if some code overwrote the
g
variable you'd get an error like this.Since it seems you're connected with the IDE maybe you could just look at what
g
actually is? It might give you some clues as to where it is being overwritten