The bluetooth serial port appears to miss characters. An example screenshot is attached. The specific missing characters in the 'Espruino' header change each time, but the error it gives is the same every time.
The following has been tried after searching on the forums for a bit:
- Resetting the board before sending code
- Power cycling board and reconnecting
- Turning on and off throttling in settings.
It doesn't help that the error message doesn't make any sense. I'm using several local modules in the code, and line 7 in all of them is taken up by a comment containing information about the file (author, purpose, etc...). So the error doesn't specify a module, nor a line with any code on it.
The class mentioned in the error should say 'Electrodes' and 'ElectrodeController()'.
I'm using the native Windows IDE on Windows 10.
Having guessed at which file and line the error was in, the 'ReferenceError' has been fixed (and it wasn't on line 7, 17, 27, or 7x either). Is this kind of behaviour normal? Does the software report where an error was on its minified code instead of the code as written?