hi there,
as i’d like to connect to my Arduino, i need to install the athome-plugin but the installation always returns an 'Exit 1’
Same for the ‘mysensors-plugin’
here’s the log, hope that helps:
4877 verbose unlock done using /home/pi/pimatic-test/.npm/_locks/pimatic-athome-920c5625e1e16119.lock for /home/pi/pimatic-test/node_modules/pimatic-athome
4878 verbose stack Error: serialport@2.0.6 install: node-pre-gyp install --fallback-to-build
4878 verbose stack Exit status 1
4878 verbose stack at EventEmitter.<anonymous> (/home/pi/pimatic-test/node_modules/pimatic/node_modules/npm/lib/utils/lifecycle.js:217:16)
4878 verbose stack at emitTwo (events.js:126:13)
4878 verbose stack at EventEmitter.emit (events.js:214:7)
4878 verbose stack at ChildProcess.<anonymous> (/home/pi/pimatic-test/node_modules/pimatic/node_modules/npm/lib/utils/spawn.js:24:14)
4878 verbose stack at emitTwo (events.js:126:13)
4878 verbose stack at ChildProcess.emit (events.js:214:7)
4878 verbose stack at maybeClose (internal/child_process.js:925:16)
4878 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
4879 verbose pkgid serialport@2.0.6
4880 verbose cwd /home/pi/pimatic-test
4881 error Linux 4.14.79-v7+
4882 error argv “/usr/bin/node” “/home/pi/pimatic-test/node_modules/pimatic/ppm.js” “install” “pimatic-athome@0.9.1” "–unsafe-perm"
4883 error node v8.11.1
4884 error npm v2.15.12
4885 error code ELIFECYCLE
4886 error serialport@2.0.6 install: node-pre-gyp install --fallback-to-build
4886 error Exit status 1
4887 error Failed at the serialport@2.0.6 install script ‘node-pre-gyp install --fallback-to-build’.
4887 error This is most likely a problem with the serialport package,
4887 error not with npm itself.
4887 error Tell the author that this fails on your system:
4887 error node-pre-gyp install --fallback-to-build
4887 error You can get information on how to open an issue for this project with:
4887 error npm bugs serialport
4887 error Or if that isn’t available, you can get their info via:
4887 error
4887 error npm owner ls serialport
4887 error There is likely additional logging output above.
4888 verbose exit [ 1, true ]