Open viikari opened 7 years ago
Mistakenly pulled serialport because when using npm 3 it gets hoisted up from johnny-five.
I just published version 0.9.1 to fix this. Please give that a shot.
Fix seems to work and installation was success, , but serial port still gave me an similar error.
can you paste the error you're currently getting?
During installation error was same than before: node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.6/serialport-v4.0.6-node-v46-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.6 and node@4.6.2 (node-v46 ABI) (falling back to source compile with node-gyp)
It seems that download link is not working.
Hi!
I tried yesterday to install this gpio node to Raspberry PI2 and installation fails. I didn't got nodes to show in node-red editor. I tried install gpio node to ./node-red directory as shown in examples with or without sudo without success. During installation I got error message from serial port library:
During installation there was no other warnings or errors than this one.
So, installation could not find serialport library. When node-red starts it also gave warning about missing serial port library: 4 Dec 23:36:25 - [info] Node-RED version: v0.15.2 4 Dec 23:36:25 - [info] Node.js version: v4.6.2 4 Dec 23:36:25 - [info] Linux 4.4.34-v7+ arm LE 4 Dec 23:36:26 - [info] Loading palette nodes pi : TTY=unknown ; PWD=/home/pi ; USER=root ; COMMAND=/usr/bin/python -u /usr/lib/node_modules/node-red/nodes/core/hardware/nrgpio.py info pam_unix(sudo:session): session opened for user root by (uid=0) pam_unix(sudo:session): session closed for user root 4 Dec 23:36:32 - [info] Dashboard up and running 4 Dec 23:36:36 - [info] Dashboard started at /ui 4 Dec 23:36:43 - [warn] ------------------------------------------------------ 4 Dec 23:36:43 - [warn] [gpio] Error: Cannot find module 'serialport' 4 Dec 23:36:43 - [warn] ------------------------------------------------------ 4 Dec 23:36:43 - [info] Settings file : /home/pi/.node-red/settings.js 4 Dec 23:36:43 - [info] User directory : /home/pi/.node-red 4 Dec 23:36:43 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json 4 Dec 23:36:43 - [info] Server now running at https://127.0.0.1:1880/ 4 Dec 23:36:43 - [info] Starting flows 4 Dec 23:36:43 - [info] Started flows
So, what's going wrong with this installation?
//Kari