In that case, if you see xpc-connection being installed by NPM and yet you still get the error, I think your version of NPM is old or misconfigured. It may not be apparent if you don't normally use native modules, but if you do then I imagine they'll break.
I'd give that NODE_MODULE_VERSION error a google as I bet plenty of other people have hit it.
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.
In that case, if you see
xpc-connection
being installed by NPM and yet you still get the error, I think your version of NPM is old or misconfigured. It may not be apparent if you don't normally use native modules, but if you do then I imagine they'll break.I'd give that
NODE_MODULE_VERSION
error a google as I bet plenty of other people have hit it.