That will stop things from loading and should allow you to connect with Bluetooth.
The code that's causing the error doesn't appear to be in the main app loader, so maybe you were developing and wrote something to somefile.boot.js that was broken, and now that's messed up the rest of the code? Either that or maybe you installed some code from another source?
You probably have some idea what that was? If so, just connect with the IDE (with no code loaded) and delete the relevant file, and then restart and it should be fixed.
Either that or just run Bangle.factoryReset() to replace all code with the defaults
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.
Try rebooting the watch with the button held down: https://www.espruino.com/Bangle.js2#resetting-without-loading-any-code
That will stop things from loading and should allow you to connect with Bluetooth.
The code that's causing the error doesn't appear to be in the main app loader, so maybe you were developing and wrote something to
somefile.boot.js
that was broken, and now that's messed up the rest of the code? Either that or maybe you installed some code from another source?You probably have some idea what that was? If so, just connect with the IDE (with no code loaded) and delete the relevant file, and then restart and it should be fixed.
Either that or just run
Bangle.factoryReset()
to replace all code with the defaults