When trying to install the ioBroker Zwave adapter I get the following error:
$ ./iobroker add zwave --host homepi
NPM version: 6.13.4
npm install iobroker.zwave@2.0.0 --unsafe-perm --loglevel error --prefix "/opt/iobroker" (System call)
internal/modules/cjs/loader.js:638 throw err; ^Error: Cannot find module '../' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/opt/iobroker/node_modules/.bin/which:2:13) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3)internal/modules/cjs/loader.js:638 throw err; ^Error: Cannot find module '../' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/opt/iobroker/node_modules/.bin/which:2:13) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3)
gyp: Call to 'which node || which nodejs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp
ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp ERR! stack at ChildProcess.emit (events.js:198:13)gyp
ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.19.97-v7l+gyp
ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/openzwave-sharedgyp ERR! node -v v10.19.0gyp ERR! node-gyp -v v5.0.5gyp ERR! not ok
npm
ERR!
code
ELIFECYCLE
npm ERR! errno 1npm
ERR! openzwave-shared@1.6.2 install: node-gyp rebuild
npm ERR! Exit status 1npm ERR! npm ERR!
Failed at the openzwave-shared@1.6.2 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2020-03-23T18_01_16_158Z-debug.log
ERROR: host.homepi Cannot install iobroker.zwave@2.0.0: 1
ERROR: process exited with code 25
Over at ioBroker they say it is an openzwave packet issue.
Can someone help me pls?
When trying to install the ioBroker Zwave adapter I get the following error:
$ ./iobroker add zwave --host homepi NPM version: 6.13.4 npm install iobroker.zwave@2.0.0 --unsafe-perm --loglevel error --prefix "/opt/iobroker" (System call) internal/modules/cjs/loader.js:638 throw err; ^Error: Cannot find module '../' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/opt/iobroker/node_modules/.bin/which:2:13) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3)internal/modules/cjs/loader.js:638 throw err; ^Error: Cannot find module '../' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/opt/iobroker/node_modules/.bin/which:2:13) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3)
gyp: Call to 'which node || which nodejs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp
ERR! configure error
gyp ERR! stack Error:
gyp
failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp ERR! stack at ChildProcess.emit (events.js:198:13)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.19.97-v7l+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/openzwave-sharedgyp ERR! node -v v10.19.0gyp ERR! node-gyp -v v5.0.5gyp ERR! not ok npm ERR!code ELIFECYCLE npm ERR! errno 1npm ERR! openzwave-shared@1.6.2 install:
node-gyp rebuild
npm ERR! Exit status 1npm ERR! npm ERR! Failed at the openzwave-shared@1.6.2 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2020-03-23T18_01_16_158Z-debug.log ERROR: host.homepi Cannot install iobroker.zwave@2.0.0: 1 ERROR: process exited with code 25
Over at ioBroker they say it is an openzwave packet issue. Can someone help me pls?