NEWS
Npm update
-
hi jungs,
ich glaub ich war mal wieder zu mutig. Wollte den node-red Adapter installieren, da war ein Fehler mit irgendwas NPM ist nicht das richtige…..
Daraufhin habe ich das hier gemacht:
sudo npm install npm -g
von hier:
https://docs.npmjs.com/getting-started/installing-node
das hier ist im Log:
` > $ ./iobroker add zwavenpm install iobroker.zwave –production --prefix "/opt/iobroker" (System call)
npm
WARN lifecycle openzwave-shared@1.1.6~preinstall: cannot run in wd %s %s (wd=%s) openzwave-shared@1.1.6 node lib/install-ozw.js /opt/iobroker/node_modules/.staging/openzwave-shared-8e400646
gyp: Call to 'PKG_CONFIG_PATH= pkg-config --variable=libdir libopenzwave' 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/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)gyp
ERR! stack
at ChildProcess.emit (events.js:110:17)gyp
ERR! stack
at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR!
System Linux 4.1.7-v7+gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/openzwave-shared
gyp ERR! node -v v0.12.6
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
npm
WARN enoent ENOENT, open '/opt/iobroker/package.json'
npm WARN mongodb-core@1.2.28 requires a peer of kerberos@~0.0 but none was installed.
npm WARN iobroker No description
npm WARN iobroker No repository field.
npm WARN iobroker No README data
npm WARN iobroker No license field.
npm
ERR! Linux 4.1.7-v7+npm ERR! argv "node" "/usr/local/bin/npm" "install" "iobroker.zwave" "--production" "--prefix" "/opt/iobroker"
npm ERR! node v0.12.6
npm ERR! npm v3.5.2npm ERR! code ELIFECYCLE
npm
ERR! openzwave-shared@1.1.6 install:
node-gyp rebuild
npm ERR! Exit status 1npm ERR!
npm ERR! Failed at the openzwave-shared@1.1.6 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the openzwave-shared package,
npm ERR!
not with npm itself.npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm
ERR!
npm bugs openzwave-sharednpm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls openzwave-shared
npm
ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /npm-debug.log
ERROR: host.raspberrypi Cannot install iobroker.zwave: 1
ERROR: process exited with code 25 `
was soll ich machen!?
-
hi jungs,
ich glaub ich war mal wieder zu mutig. Wollte den node-red Adapter installieren, da war ein Fehler mit irgendwas NPM ist nicht das richtige…..
Daraufhin habe ich das hier gemacht:
sudo npm install npm -g
von hier:
https://docs.npmjs.com/getting-started/installing-node
das hier ist im Log:
` > $ ./iobroker add zwavenpm install iobroker.zwave –production --prefix "/opt/iobroker" (System call)
npm
WARN lifecycle openzwave-shared@1.1.6~preinstall: cannot run in wd %s %s (wd=%s) openzwave-shared@1.1.6 node lib/install-ozw.js /opt/iobroker/node_modules/.staging/openzwave-shared-8e400646
gyp: Call to 'PKG_CONFIG_PATH= pkg-config --variable=libdir libopenzwave' 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/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)gyp
ERR! stack
at ChildProcess.emit (events.js:110:17)gyp
ERR! stack
at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR!
System Linux 4.1.7-v7+gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/openzwave-shared
gyp ERR! node -v v0.12.6
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
npm
WARN enoent ENOENT, open '/opt/iobroker/package.json'
npm WARN mongodb-core@1.2.28 requires a peer of kerberos@~0.0 but none was installed.
npm WARN iobroker No description
npm WARN iobroker No repository field.
npm WARN iobroker No README data
npm WARN iobroker No license field.
npm
ERR! Linux 4.1.7-v7+npm ERR! argv "node" "/usr/local/bin/npm" "install" "iobroker.zwave" "--production" "--prefix" "/opt/iobroker"
npm ERR! node v0.12.6
npm ERR! npm v3.5.2npm ERR! code ELIFECYCLE
npm
ERR! openzwave-shared@1.1.6 install:
node-gyp rebuild
npm ERR! Exit status 1npm ERR!
npm ERR! Failed at the openzwave-shared@1.1.6 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the openzwave-shared package,
npm ERR!
not with npm itself.npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm
ERR!
npm bugs openzwave-sharednpm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls openzwave-shared
npm
ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /npm-debug.log
ERROR: host.raspberrypi Cannot install iobroker.zwave: 1
ERROR: process exited with code 25 `
was soll ich machen!? `
Was passiert?cd /opt/iobroker sudo npm install iobroker.zwave
-
Wart mit zwave, morgen bzw. übermorgen gibt es eine neue Version inkl. Dokumentation.
Gesendet von meinem iPhone mit Tapatalk
9364_iobroker.2018-11-12.log -
ich hab stattdessen mit dem Wolf Adapter probiert:
` > root@raspberrypi:/opt/iobroker# sudo npm install iobroker.wolf/opt/iobroker
├── iobroker.icons-addictive-flavour-png@0.1.0
└── iobroker.wolf@0.1.0
npm WARN enoent ENOENT, open '/opt/iobroker/package.json'
npm WARN mongodb-core@1.2.28 requires a peer of kerberos@~0.0 but none was installed.
npm WARN iobroker No description
npm WARN iobroker No repository field.
npm WARN iobroker No README data
npm WARN iobroker No license field. `
2858_iobroker.2018-11-14_-kopie__3.log -
ich hab stattdessen mit dem Wolf Adapter probiert:
` > root@raspberrypi:/opt/iobroker# sudo npm install iobroker.wolf/opt/iobroker
├── iobroker.icons-addictive-flavour-png@0.1.0
└── iobroker.wolf@0.1.0
npm WARN enoent ENOENT, open '/opt/iobroker/package.json'
npm WARN mongodb-core@1.2.28 requires a peer of kerberos@~0.0 but none was installed.
npm WARN iobroker No description
npm WARN iobroker No repository field.
npm WARN iobroker No README data
npm WARN iobroker No license field.
Hat doch geklappt. Nur Warnungen -
leider ist der Adapter aber unter Instanzen nicht sichtbar