Hello,
i installed a new pimatic 0.9.46 on my second RasPi. The installation worked without any problems. Many thanks for the great work! I am really glad that it will go on and pimatic comes to an end.
I want to exchange the SD card with my productive system when it is ready. So I installed all the plugins I need. Without finishing configuring them. This will later make config.json from my running pimatic.
Unfortunately I have problems with the installation of the Homduino plugin. All plugins could be installed without problems. Except Homeduino.
On my second RasPi the following is installed:
pi@raspberrypi:~/pimatic-app $ uname -a
Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux
pi@raspberrypi:~/pimatic-app $ npm -v
6.4.1
pi@raspberrypi:~/pimatic-app $ node -v
v8.15.0
The Homeduino installation gives me the following (it is only a part of the output):
gyp ERR! command "/usr/bin/node" "/home/pi/pimatic-app/nodemodules/npm/nodemodules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/pimatic-app/nodemodules/pimatic-homeduino/nodemodules/homeduino/nodemodules/serialport/build/Release/node-v57-linux-arm/serialport.node" "modulename=serialport" "modulepath=/home/pi/pimatic-app/nodemodules/pimatic-homeduino/nodemodules/homeduino/nodemodules/serialport/build/Release/node-v57-linux-arm"
gyp ERR! cwd /home/pi/pimatic-app/nodemodules/pimatic-homeduino/nodemodules/homeduino/node_modules/serialport
gyp ERR! node -v v8.11.1
gyp ERR! node-gyp -v v3.6.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /home/pi/pimatic-app/nodemodules/npm/nodemodules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/pimatic-app/nodemodules/pimatic-homeduino/nodemodules/homeduino/nodemodules/serialport/build/Release/node-v57-linux-arm/serialport.node modulename=serialport modulepath=/home/pi/pimatic-app/nodemodules/pimatic-homeduino/nodemodules/homeduino/nodemodules/serialport/build/Release/node-v57-linux-arm' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/pi/pimatic-app/nodemodules/pimatic-homeduino/nodemodules/homeduino/nodemodules/serialport/nodemodules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:126:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:214:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:925:16)
node-pre-gyp ERR! stack at Process.ChildProcess.handle.onexit (internal/childprocess.js:209:5)
node-pre-gyp ERR! System Linux 4.14.98-v7+
node-pre-gyp ERR! command "/usr/bin/node" "/home/pi/pimatic-app/nodemodules/pimatic-homeduino/nodemodules/homeduino/nodemodules/serialport/nodemodules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/pi/pimatic-app/nodemodules/pimatic-homeduino/nodemodules/homeduino/node_modules/serialport
node-pre-gyp ERR! node -v v8.11.1
node-pre-gyp ERR! node-pre-gyp -v v0.6.18
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /home/pi/pimatic-app/nodemodules/npm/nodemodules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/pimatic-app/nodemodules/pimatic-homeduino/nodemodules/homeduino/nodemodules/serialport/build/Release/node-v57-linux-arm/serialport.node modulename=serialport modulepath=/home/pi/pimatic-app/nodemodules/pimatic-homeduino/nodemodules/homeduino/nodemodules/serialport/build/Release/node-v57-linux-arm' (1)
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! serialport@2.0.6 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the serialport@2.0.6 install script.
npm ERR! This is most likely a problem with the serialport package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR! npm owner ls serialport
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 4.14.98-v7+
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "pimatic-homeduino" "--unsafe-perm"
npm ERR! cwd /home/pi/pimatic-app
npm ERR! node -v v8.11.1
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/pi/pimatic-app/npm-debug.log
npm ERR! not ok code 0
Do I have to switch back to node 4… and npm 2… to install Homeduino?