Please can you try running require('Storage').eraseAll() and then try sending again?
It could be related to recent changes in the way code is stored (that allow you to save extra information as well as code). It shouldn't cause problems, but it's possible there is a bug in there somewhere.
If that does fix it, and you encounter this again, would you be happy to send me a copy of the code that causes the issue (and possibly a dump of the saved code area which I can send you some code for) so I can track the issue down and fix it here?
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.
Please can you try running
require('Storage').eraseAll()
and then try sending again?It could be related to recent changes in the way code is stored (that allow you to save extra information as well as code). It shouldn't cause problems, but it's possible there is a bug in there somewhere.
If that does fix it, and you encounter this again, would you be happy to send me a copy of the code that causes the issue (and possibly a dump of the saved code area which I can send you some code for) so I can track the issue down and fix it here?