Any chance you could share the script privately via email/forum PM? Or strip it back to something that you can share but that still exhibits the problem?
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.
I'm afraid not... Are there any error messages?
Any chance you could share the script privately via email/forum PM? Or strip it back to something that you can share but that still exhibits the problem?