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, powered by microcosm.
Report a problem