That's not the issue - that function is when pin names don't match that actual chip.
Your files look ok, so honestly I'd start trying to turn pins on and off to see what is going on.
Are you sure you installed the right compiler, using the provision script?
@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.
That's not the issue - that function is when pin names don't match that actual chip.
Your files look ok, so honestly I'd start trying to turn pins on and off to see what is going on.
Are you sure you installed the right compiler, using the provision script?