I'm not really sure about the paths - I'm not a big node.js user,
but... serialport should definitely be an npm package - but actually it can be that you get a complaint not because it's not installed, but because the binary version doesn't match the version of nw.js. That extra commented code in the .sh file - it could be that the version of nw.js it's compiling for isn't the version that you have installed?
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 not really sure about the paths - I'm not a big node.js user,
but...
serialport
should definitely be an npm package - but actually it can be that you get a complaint not because it's not installed, but because the binary version doesn't match the version ofnw.js
. That extra commented code in the.sh
file - it could be that the version ofnw.js
it's compiling for isn't the version that you have installed?