Actually I just looked at this a bit more and it seems that you can npm install electron-rebuild, run it, and then it'll rebuild everything for electron's version. That will probably sort it out for you...
Looks like it can go in package.json so it all happens automatically, but I'm not 100% sure how to do that at the moment.
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.
Actually I just looked at this a bit more and it seems that you can npm install electron-rebuild, run it, and then it'll rebuild everything for electron's version. That will probably sort it out for you...
Looks like it can go in package.json so it all happens automatically, but I'm not 100% sure how to do that at the moment.