Closed crertel closed 8 years ago
GCC version in use is gcc (Raspbian 4.9.2-10) 4.9.2
.
The latest version of node-waterrower
published on npm doesn't correspond to the to the develop branch on github. The latest version on npm depends on serialport v1.7.4 which will not compile with Node.js v4 or greater. The version on github depends on serialport v2.0.6 which will compile with Node.js v4 or higher. What should work is npm install "git://github.com/jamesnesfield/node-waterrower.git#develop"
. Whether or not it functions correctly is a different question. It's probably best to create an issue at node-waterrower
and ask if a new version can be published on npm.
That appears to have solved the problem!
Many thanks!
Sorry to take up time with a downstream problem. :(
I'm trying to install a simple module that uses node-serialport (node-waterrower), and unfortunately it won't install due to errors. Build environment is Raspbian Jesse on an RPi 2.
A rough snippet of the errors looks like:
There is a bit more output, but it seems pretty obvious that something is broken in nan.
I did a little more investigating, and notice that the version of nan for node-serialport is at
~2.0.0
. The current version of nan (on their project page) is2.2.0
.Is there any chance that you might want to upgrade to the newer version of nan? Would that help?