Is it actually the same chip, or is it one with less flash memory?
You could try require("Storage").eraseAll() and see if it helps?
require("Storage").eraseAll()
nevermind, fix is in my next post :)
@Gordon started
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.
Is it actually the same chip, or is it one with less flash memory?
You could try
require("Storage").eraseAll()
and see if it helps?