Posts

Showing posts with the label raspberry-pi2

can't “sudo npm install serialport” on ARMv7 Raspberry pi

can't “sudo npm install serialport” on ARMv7 Raspberry pi Node version v4.0.0 npm verison v2.14.2 i've tried to installing node-pre-gyp & node-gyp, which seem to install fine. i've also tried to install a specific serialport v1.7.4 version. I've also tryed adding the unsafe--perm. All don't work when installing serialport when running sudo npm install serialport --unsafe-perm i get the following error. I think it might be because my c++ compiler is outdated and node is trying to install non compatible node-pre-gyp. I'm both not sure what problem it is and how to solve it. node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v46-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@4.0.0 (node-v46 ABI) (falling back to source compile with node-gyp) make: Entering directory '/home/pi/node_modules/serialport/build' ...