NEWS
Probleme modbus zu installieren
-
Hi,
beim Versuch modbus zu installieren erhalte ich immer lauter Fehlermeldungen: Im Log sind 2 Installationsversuche enthalten:
per iobroker und per npm
Hier die Eingaben und Fehlermeldungen + das File /opt/iobroker/npm-debug.log
! root@odibroker:/opt/iobroker# iobroker add modbus host.odibroker install adapter modbus
! npm install –production --prefix "/opt/iobroker/node_modules/iobroker.modbus" (System call)
! npm ERR! Linux 3.14.79-82
! npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--production" "--prefix" "/opt/iobroker/node_modules /iobroker.modbus"
! npm ERR! node v4.2.6
! npm ERR! npm v3.5.2
! npm ERR! Cannot read property 'target' of null
! npm ERR!
! npm ERR! If you need help, you may report this error at:
! npm ERR! <https://github.com/npm/npm/issues>
! npm ERR! Please include the following file with any support request:
! npm ERR! /opt/iobroker/npm-debug.log
! Cannot install iobroker.modbus: 1
! root@odibroker:/opt/iobroker# npm install –production --prefix "/opt/iobroker/node_modules/iobroker.modbus"
! npm ERR! Linux 3.14.79-82
! npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "–production" "--prefix" "/opt/iobroker/node_modules/iobroker.modbus"
! npm ERR! node v4.2.6
! npm ERR! npm v3.5.2
! npm ERR! Cannot read property 'target' of null
! npm ERR!
! npm ERR! If you need help, you may report this error at:
! npm ERR! <https://github.com/npm/npm/issues>
! npm ERR! Please include the following file with any support request:
! npm ERR! /opt/iobroker/npm-debug.log
! root@odibroker:/opt/iobroker# nano ^C
! root@odibroker:/opt/iobroker# nano /opt/iobroker/npm-debug.log
! GNU nano 2.5.3 File: /opt/iobroker/npm-debug.log
! 191 verbose cache add spec put@*
! 192 silly cache add parsed spec Result {
! 192 silly cache add raw: 'put@',
! 192 silly cache add scope: null,
! 192 silly cache add name: 'put',
! 192 silly cache add rawSpec: '',
! 192 silly cache add spec: '',
! 192 silly cache add type: 'range' }
! 193 silly addNamed put@
! 194 verbose addNamed "" is a valid semver range for put
! 195 silly addNameRange { name: 'put', range: '', hasData: false }
! 196 silly mapToRegistry name put
! 197 silly mapToRegistry using default registry
! 198 silly mapToRegistry registry https://registry.npmjs.org/
! 199 silly mapToRegistry uri https://registry.npmjs.org/put
! 200 verbose addNameRange registry:https://registry.npmjs.org/put not in flight; fetching
! 201 verbose afterAdd /root/.npm/stream-stack/1.1.4/package/package.json written
! 202 verbose afterAdd /root/.npm/bufferlist/0.1.0/package/package.json written
! 203 verbose get https://registry.npmjs.org/put not expired, no request
! 204 silly addNameRange number 2 { name: 'put', range: '*', hasData: true }
! 205 silly addNameRange versions [ 'put', [ '0.0.1', '0.0.3', '0.0.4', '0.0.5', '0.0.6' ] ]
! 206 silly addNamed put@0.0.6
! 207 verbose addNamed "0.0.6" is a plain semver version for put
! 208 silly cache afterAdd put@0.0.6
! 209 verbose afterAdd /root/.npm/put/0.0.6/package/package.json not in flight; writing
! 210 verbose afterAdd /root/.npm/put/0.0.6/package/package.json written
! 211 silly loadAllDepsIntoIdealTree Finishing
! 212 silly idealTree:prePrune iobroker.modbus@0.3.11
! 212 silly idealTree:prePrune ├── bufferlist@0.1.0
! 212 silly idealTree:prePrune ├── modbus-stack@0.2.1
! 212 silly idealTree:prePrune ├── put@0.0.6
! 212 silly idealTree:prePrune └── stream-stack@1.1.4
! 213 silly loadIdealTree Finishing
! 214 silly currentTree iobroker.modbus@0.3.11
! 215 silly idealTree iobroker.modbus@0.3.11
! 215 silly idealTree ├── bufferlist@0.1.0
! 215 silly idealTree ├── modbus-stack@0.2.1
! 215 silly idealTree ├── put@0.0.6
! 215 silly idealTree └── stream-stack@1.1.4
! 216 silly generateActionsToTake Starting
! 217 silly install generateActionsToTake
! 218 verbose stack TypeError: Cannot read property 'target' of null
! 218 verbose stack at module.exports (/usr/share/npm/lib/install/filter-invalid-actions.js:24:35)
! 218 verbose stack at Array. <anonymous>(/usr/share/npm/node_modules/slide/lib/bind-actor.js:15:8)
! 218 verbose stack at LOOP (/usr/share/npm/node_modules/slide/lib/chain.js:15:14)
! 218 verbose stack at /usr/share/npm/node_modules/slide/lib/chain.js:18:7
! 218 verbose stack at Object.Installer.computeLinked (/usr/share/npm/lib/install.js:411:41)
! 218 verbose stack at Array. <anonymous>(/usr/share/npm/node_modules/slide/lib/bind-actor.js:15:8)
! 218 verbose stack at LOOP (/usr/share/npm/node_modules/slide/lib/chain.js:15:14)
! 218 verbose stack at /usr/share/npm/node_modules/slide/lib/chain.js:18:7
! 218 verbose stack at module.exports (/usr/share/npm/lib/install/diff-trees.js:50:3)
! 218 verbose stack at Array. <anonymous>(/usr/share/npm/node_modules/slide/lib/bind-actor.js:15:8)
! 219 verbose cwd /opt/iobroker
! 220 error Linux 3.14.79-82
! 221 error argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "–production" "--prefix" "/opt/iobroker/node_modules/iobroker.modbus"
! 222 error node v4.2.6
! 223 error npm v3.5.2
! 224 error Cannot read property 'target' of null
! 225 error If you need help, you may report this error at:
! 225 error <https://github.com/npm/npm/issues>
! 226 verbose exit [ 1, true ]</anonymous></anonymous></anonymous>Da ich diese Art von Feher jetzt mehrfach gesehen habe, dachte ich packe es mal rein.
Es läuft auf einem Ubuntu 16.04TLS. Irgendwie habe ich kompatibilitätsprobleme in Verdacht - ohne nähere Hinweise.
npm und nodejs nochmals rüberinstalliert. Ebenfalls apt.get update und upgrade.
Danke für jeden Hinweis!
Fitti
-
Hi,
beim Versuch modbus zu installieren erhalte ich immer lauter Fehlermeldungen: Im Log sind 2 Installationsversuche enthalten:
per iobroker und per npm
Hier die Eingaben und Fehlermeldungen + das File /opt/iobroker/npm-debug.log
! root@odibroker:/opt/iobroker# iobroker add modbus host.odibroker install adapter modbus
! npm install –production --prefix "/opt/iobroker/node_modules/iobroker.modbus" (System call)
! npm ERR! Linux 3.14.79-82
! npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--production" "--prefix" "/opt/iobroker/node_modules /iobroker.modbus"
! npm ERR! node v4.2.6
! npm ERR! npm v3.5.2
! npm ERR! Cannot read property 'target' of null
! npm ERR!
! npm ERR! If you need help, you may report this error at:
! npm ERR! <https://github.com/npm/npm/issues>
! npm ERR! Please include the following file with any support request:
! npm ERR! /opt/iobroker/npm-debug.log
! Cannot install iobroker.modbus: 1
! root@odibroker:/opt/iobroker# npm install –production --prefix "/opt/iobroker/node_modules/iobroker.modbus"
! npm ERR! Linux 3.14.79-82
! npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "–production" "--prefix" "/opt/iobroker/node_modules/iobroker.modbus"
! npm ERR! node v4.2.6
! npm ERR! npm v3.5.2
! npm ERR! Cannot read property 'target' of null
! npm ERR!
! npm ERR! If you need help, you may report this error at:
! npm ERR! <https://github.com/npm/npm/issues>
! npm ERR! Please include the following file with any support request:
! npm ERR! /opt/iobroker/npm-debug.log
! root@odibroker:/opt/iobroker# nano ^C
! root@odibroker:/opt/iobroker# nano /opt/iobroker/npm-debug.log
! GNU nano 2.5.3 File: /opt/iobroker/npm-debug.log
! 191 verbose cache add spec put@*
! 192 silly cache add parsed spec Result {
! 192 silly cache add raw: 'put@',
! 192 silly cache add scope: null,
! 192 silly cache add name: 'put',
! 192 silly cache add rawSpec: '',
! 192 silly cache add spec: '',
! 192 silly cache add type: 'range' }
! 193 silly addNamed put@
! 194 verbose addNamed "" is a valid semver range for put
! 195 silly addNameRange { name: 'put', range: '', hasData: false }
! 196 silly mapToRegistry name put
! 197 silly mapToRegistry using default registry
! 198 silly mapToRegistry registry https://registry.npmjs.org/
! 199 silly mapToRegistry uri https://registry.npmjs.org/put
! 200 verbose addNameRange registry:https://registry.npmjs.org/put not in flight; fetching
! 201 verbose afterAdd /root/.npm/stream-stack/1.1.4/package/package.json written
! 202 verbose afterAdd /root/.npm/bufferlist/0.1.0/package/package.json written
! 203 verbose get https://registry.npmjs.org/put not expired, no request
! 204 silly addNameRange number 2 { name: 'put', range: '*', hasData: true }
! 205 silly addNameRange versions [ 'put', [ '0.0.1', '0.0.3', '0.0.4', '0.0.5', '0.0.6' ] ]
! 206 silly addNamed put@0.0.6
! 207 verbose addNamed "0.0.6" is a plain semver version for put
! 208 silly cache afterAdd put@0.0.6
! 209 verbose afterAdd /root/.npm/put/0.0.6/package/package.json not in flight; writing
! 210 verbose afterAdd /root/.npm/put/0.0.6/package/package.json written
! 211 silly loadAllDepsIntoIdealTree Finishing
! 212 silly idealTree:prePrune iobroker.modbus@0.3.11
! 212 silly idealTree:prePrune ├── bufferlist@0.1.0
! 212 silly idealTree:prePrune ├── modbus-stack@0.2.1
! 212 silly idealTree:prePrune ├── put@0.0.6
! 212 silly idealTree:prePrune └── stream-stack@1.1.4
! 213 silly loadIdealTree Finishing
! 214 silly currentTree iobroker.modbus@0.3.11
! 215 silly idealTree iobroker.modbus@0.3.11
! 215 silly idealTree ├── bufferlist@0.1.0
! 215 silly idealTree ├── modbus-stack@0.2.1
! 215 silly idealTree ├── put@0.0.6
! 215 silly idealTree └── stream-stack@1.1.4
! 216 silly generateActionsToTake Starting
! 217 silly install generateActionsToTake
! 218 verbose stack TypeError: Cannot read property 'target' of null
! 218 verbose stack at module.exports (/usr/share/npm/lib/install/filter-invalid-actions.js:24:35)
! 218 verbose stack at Array. <anonymous>(/usr/share/npm/node_modules/slide/lib/bind-actor.js:15:8)
! 218 verbose stack at LOOP (/usr/share/npm/node_modules/slide/lib/chain.js:15:14)
! 218 verbose stack at /usr/share/npm/node_modules/slide/lib/chain.js:18:7
! 218 verbose stack at Object.Installer.computeLinked (/usr/share/npm/lib/install.js:411:41)
! 218 verbose stack at Array. <anonymous>(/usr/share/npm/node_modules/slide/lib/bind-actor.js:15:8)
! 218 verbose stack at LOOP (/usr/share/npm/node_modules/slide/lib/chain.js:15:14)
! 218 verbose stack at /usr/share/npm/node_modules/slide/lib/chain.js:18:7
! 218 verbose stack at module.exports (/usr/share/npm/lib/install/diff-trees.js:50:3)
! 218 verbose stack at Array. <anonymous>(/usr/share/npm/node_modules/slide/lib/bind-actor.js:15:8)
! 219 verbose cwd /opt/iobroker
! 220 error Linux 3.14.79-82
! 221 error argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "–production" "--prefix" "/opt/iobroker/node_modules/iobroker.modbus"
! 222 error node v4.2.6
! 223 error npm v3.5.2
! 224 error Cannot read property 'target' of null
! 225 error If you need help, you may report this error at:
! 225 error <https://github.com/npm/npm/issues>
! 226 verbose exit [ 1, true ]</anonymous></anonymous></anonymous>Da ich diese Art von Feher jetzt mehrfach gesehen habe, dachte ich packe es mal rein.
Es läuft auf einem Ubuntu 16.04TLS. Irgendwie habe ich kompatibilitätsprobleme in Verdacht - ohne nähere Hinweise.
npm und nodejs nochmals rüberinstalliert. Ebenfalls apt.get update und upgrade.
Danke für jeden Hinweis!
Fitti `
Bitte npm auf 2 downgraden :npm install npm@latest-2 -g
-
Danke es geht ….
Aber was macht der Befehl genau? :?
Wenn ich ein npm - v eingebe, dann kommt immer noch 3.5.2... :shock:
-
Danke es geht ….
Aber was macht der Befehl genau? :?
Wenn ich ein npm - v eingebe, dann kommt immer noch 3.5.2... :shock: `
HM. .. Das mit der Version ist für mich ein Rätsel. Bist du sicher, dass du "-g" dabei gehabt hast? -
Ein Neustart brachte dann ein V2.15.10.
****Dafür kann ich nun den Adapter <u>"Screenshot with PhantomJS"</u> nicht installieren.
Hier der Log dazu..****.
! 2331 error Linux 3.14.79-82
! 2332 error argv "/usr/bin/nodejs" "/usr/local/bin/npm" "install" "iobroker.phantomjs" "–production" "--prefix" "/opt/iobroker"
! 2333 error node v4.2.6
! 2334 error npm v2.15.10
! 2335 error code ELIFECYCLE
! 2336 error phantomjs-prebuilt@2.1.13 install:node install.js
! 2336 error Exit status 1
! 2337 error Failed at the phantomjs-prebuilt@2.1.13 install script 'node install.js'.
! 2337 error This is most likely a problem with the phantomjs-prebuilt package,
! 2337 error not with npm itself.
! 2337 error Tell the author that this fails on your system:
! 2337 error node install.js 2337 error You can get information on how to open an issue for this project with:
! 2337 error npm bugs phantomjs-prebuilt
! 2337 error Or if that isn't available, you can get their info via:
! 2337 error
! 2337 error npm owner ls phantomjs-prebuilt
! 2337 error There is likely additional logging output above.
! 2338 verbose exit [ 1, true ]
! 2339 verbose unbuild node_modules/iobroker.phantomjs/node_modules/phantomjs-prebuilt
! 2340 info preuninstall phantomjs-prebuilt@2.1.13
! 2341 info uninstall phantomjs-prebuilt@2.1.13
! 2342 verbose unbuild rmStuff phantomjs-prebuilt@2.1.13 from /opt/iobroker/node_modules
! 2343 verbose unbuild rmStuff in /opt/iobroker/node_modules/iobroker.phantomjs/node_modules
! 2344 silly gentlyRm /opt/iobroker/node_modules/iobroker.phantomjs/node_modules/.bin/phantomjs is being gently removed
! 2345 silly gentlyRm verifying /opt/iobroker is an npm working directory
! 2346 silly gentlyRm containing path /opt/iobroker is under npm's control, in /opt/iobroker
! 2347 silly gentlyRm deletion target /opt/iobroker/node_modules/iobroker.phantomjs/node_modules/.bin/phantomjs is under /opt/iobroker
! 2348 verbose gentlyRm vacuuming from /opt/iobroker/node_modules/iobroker.phantomjs/node_modules/.bin/phantomjs up to /opt/iobroker
! 2349 silly vacuum-fs removing /opt/iobroker/node_modules/iobroker.phantomjs/node_modules/.bin/phantomjs
! 2350 silly vacuum-fs removing /opt/iobroker/node_modules/iobroker.phantomjs/node_modules/.bin
! 2351 silly vacuum-fs quitting because other entries in /opt/iobroker/node_modules/iobroker.phantomjs/node_modules
! 2352 info postuninstall phantomjs-prebuilt@2.1.13
! 2353 silly gentlyRm /opt/iobroker/node_modules/iobroker.phantomjs/node_modules/phantomjs-prebuilt is being purged from base /opt/iobroker
! 2354 verbose gentlyRm don't care about contents; nuking /opt/iobroker/node_modules/iobroker.phantomjs/node_modules/phantomjs-prebuilt
! 2355 silly vacuum-fs purging /opt/iobroker/node_modules/iobroker.phantomjs/node_modules/phantomjs-prebuilt
! 2356 silly vacuum-fs removing /opt/iobroker/node_modules/iobroker.phantomjs/node_modules
! 2357 silly vacuum-fs quitting because other entries in /opt/iobroker/node_modules/iobroker.phantomjs
! 2358 verbose unbuild node_modules/iobroker.phantomjs
! 2359 info preuninstall iobroker.phantomjs@0.1.2
! 2360 info uninstall iobroker.phantomjs@0.1.2
! 2361 verbose unbuild rmStuff iobroker.phantomjs@0.1.2 from /opt/iobroker/node_modules
! 2362 info postuninstall iobroker.phantomjs@0.1.2
! 2363 silly gentlyRm /opt/iobroker/node_modules/iobroker.phantomjs is being purged from base /opt/iobroker
! 2364 verbose gentlyRm don't care about contents; nuking /opt/iobroker/node_modules/iobroker.phantomjs
! 2365 silly vacuum-fs purging /opt/iobroker/node_modules/iobroker.phantomjs
! 2366 silly vacuum-fs quitting because other entries in /opt/iobroker/node_modulesUnd auch n och ein paar andere infos:
! Try to install PhantomJS globally
! npm ERR! Linux 3.14.79-82
! npm ERR! argv "/usr/bin/nodejs" "/usr/local/bin/npm" "install" "iobroker.phantomjs" "–production" "--prefix" "/opt/iobroker"
! npm ERR! node v4.2.6
! npm ERR! npm v2.15.10
! npm ERR! code ELIFECYCLE
! npm ERR! phantomjs-prebuilt@2.1.13 install:node install.js
! npm ERR! Exit status 1
! npm ERR!
! npm ERR! Failed at the phantomjs-prebuilt@2.1.13 install script 'node install.js'.
! npm ERR! This is most likely a problem with the phantomjs-prebuilt package,
! npm ERR! not with npm itself.
! npm ERR! Tell the author that this fails on your system:
! npm ERR! node install.js
! npm ERR! You can get information on how to open an issue for this project with:
! npm ERR! npm bugs phantomjs-prebuilt
! npm ERR! Or if that isn't available, you can get their info via:
! npm ERR!
! npm ERR! npm owner ls phantomjs-prebuilt
! npm ERR! There is likely additional logging output above.
! npm ERR! Please include the following file with any support request:
! npm ERR! /opt/iobroker/npm-debug.log
! host.odibroker Cannot install iobroker.phantomjs: 1
! root@odibroker:/opt/iobroker# less /opt/iobroker/npm-debug.log
! 2324 info phantomjs-prebuilt@2.1.13 Failed to exec install script
! 2325 verbose unlock done using /root/.npm/_locks/phantomjs-prebuilt-bb99dd8fdeb6df0b.lock for /opt/iobroker/node_modules/iobroker.phantomjs/node_modules/phantomjs-prebuilt
! 2326 verbose about to build /opt/iobroker/node_modules/iobroker.phantomjs
! 2327 verbose unlock done using /root/.npm/_locks/iobroker-phantomjs-b2ccf7fc4b57cd9b.lock for /opt/iobroker/node_modules/iobroker.phantomjs
! 2328 verbose stack Error: phantomjs-prebuilt@2.1.13 install:node install.js
! 2328 verbose stack Exit status 1
! 2328 verbose stack at EventEmitter. <anonymous>(/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)
! 2328 verbose stack at emitTwo (events.js:87:13)
! 2328 verbose stack at EventEmitter.emit (events.js:172:7)
! 2328 verbose stack at ChildProcess. <anonymous>(/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
! 2328 verbose stack at emitTwo (events.js:87:13)
! 2328 verbose stack at ChildProcess.emit (events.js:172:7)
! 2328 verbose stack at maybeClose (internal/child_process.js:821:16)
! 2328 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
! 2329 verbose pkgid phantomjs-prebuilt@2.1.13
! 2330 verbose cwd /opt/iobroker</anonymous></anonymous>Any help? :?
-
Ein Neustart brachte dann ein V2.15.10.
****Dafür kann ich nun den Adapter <u>"Screenshot with PhantomJS"</u> nicht installieren.
Hier der Log dazu..****.
! 2331 error Linux 3.14.79-82
! 2332 error argv "/usr/bin/nodejs" "/usr/local/bin/npm" "install" "iobroker.phantomjs" "–production" "--prefix" "/opt/iobroker"
! 2333 error node v4.2.6
! 2334 error npm v2.15.10
! 2335 error code ELIFECYCLE
! 2336 error phantomjs-prebuilt@2.1.13 install:node install.js
! 2336 error Exit status 1
! 2337 error Failed at the phantomjs-prebuilt@2.1.13 install script 'node install.js'.
! 2337 error This is most likely a problem with the phantomjs-prebuilt package,
! 2337 error not with npm itself.
! 2337 error Tell the author that this fails on your system:
! 2337 error node install.js 2337 error You can get information on how to open an issue for this project with:
! 2337 error npm bugs phantomjs-prebuilt
! 2337 error Or if that isn't available, you can get their info via:
! 2337 error
! 2337 error npm owner ls phantomjs-prebuilt
! 2337 error There is likely additional logging output above.
! 2338 verbose exit [ 1, true ]
! 2339 verbose unbuild node_modules/iobroker.phantomjs/node_modules/phantomjs-prebuilt
! 2340 info preuninstall phantomjs-prebuilt@2.1.13
! 2341 info uninstall phantomjs-prebuilt@2.1.13
! 2342 verbose unbuild rmStuff phantomjs-prebuilt@2.1.13 from /opt/iobroker/node_modules
! 2343 verbose unbuild rmStuff in /opt/iobroker/node_modules/iobroker.phantomjs/node_modules
! 2344 silly gentlyRm /opt/iobroker/node_modules/iobroker.phantomjs/node_modules/.bin/phantomjs is being gently removed
! 2345 silly gentlyRm verifying /opt/iobroker is an npm working directory
! 2346 silly gentlyRm containing path /opt/iobroker is under npm's control, in /opt/iobroker
! 2347 silly gentlyRm deletion target /opt/iobroker/node_modules/iobroker.phantomjs/node_modules/.bin/phantomjs is under /opt/iobroker
! 2348 verbose gentlyRm vacuuming from /opt/iobroker/node_modules/iobroker.phantomjs/node_modules/.bin/phantomjs up to /opt/iobroker
! 2349 silly vacuum-fs removing /opt/iobroker/node_modules/iobroker.phantomjs/node_modules/.bin/phantomjs
! 2350 silly vacuum-fs removing /opt/iobroker/node_modules/iobroker.phantomjs/node_modules/.bin
! 2351 silly vacuum-fs quitting because other entries in /opt/iobroker/node_modules/iobroker.phantomjs/node_modules
! 2352 info postuninstall phantomjs-prebuilt@2.1.13
! 2353 silly gentlyRm /opt/iobroker/node_modules/iobroker.phantomjs/node_modules/phantomjs-prebuilt is being purged from base /opt/iobroker
! 2354 verbose gentlyRm don't care about contents; nuking /opt/iobroker/node_modules/iobroker.phantomjs/node_modules/phantomjs-prebuilt
! 2355 silly vacuum-fs purging /opt/iobroker/node_modules/iobroker.phantomjs/node_modules/phantomjs-prebuilt
! 2356 silly vacuum-fs removing /opt/iobroker/node_modules/iobroker.phantomjs/node_modules
! 2357 silly vacuum-fs quitting because other entries in /opt/iobroker/node_modules/iobroker.phantomjs
! 2358 verbose unbuild node_modules/iobroker.phantomjs
! 2359 info preuninstall iobroker.phantomjs@0.1.2
! 2360 info uninstall iobroker.phantomjs@0.1.2
! 2361 verbose unbuild rmStuff iobroker.phantomjs@0.1.2 from /opt/iobroker/node_modules
! 2362 info postuninstall iobroker.phantomjs@0.1.2
! 2363 silly gentlyRm /opt/iobroker/node_modules/iobroker.phantomjs is being purged from base /opt/iobroker
! 2364 verbose gentlyRm don't care about contents; nuking /opt/iobroker/node_modules/iobroker.phantomjs
! 2365 silly vacuum-fs purging /opt/iobroker/node_modules/iobroker.phantomjs
! 2366 silly vacuum-fs quitting because other entries in /opt/iobroker/node_modulesUnd auch n och ein paar andere infos:
! Try to install PhantomJS globally
! npm ERR! Linux 3.14.79-82
! npm ERR! argv "/usr/bin/nodejs" "/usr/local/bin/npm" "install" "iobroker.phantomjs" "–production" "--prefix" "/opt/iobroker"
! npm ERR! node v4.2.6
! npm ERR! npm v2.15.10
! npm ERR! code ELIFECYCLE
! npm ERR! phantomjs-prebuilt@2.1.13 install:node install.js
! npm ERR! Exit status 1
! npm ERR!
! npm ERR! Failed at the phantomjs-prebuilt@2.1.13 install script 'node install.js'.
! npm ERR! This is most likely a problem with the phantomjs-prebuilt package,
! npm ERR! not with npm itself.
! npm ERR! Tell the author that this fails on your system:
! npm ERR! node install.js
! npm ERR! You can get information on how to open an issue for this project with:
! npm ERR! npm bugs phantomjs-prebuilt
! npm ERR! Or if that isn't available, you can get their info via:
! npm ERR!
! npm ERR! npm owner ls phantomjs-prebuilt
! npm ERR! There is likely additional logging output above.
! npm ERR! Please include the following file with any support request:
! npm ERR! /opt/iobroker/npm-debug.log
! host.odibroker Cannot install iobroker.phantomjs: 1
! root@odibroker:/opt/iobroker# less /opt/iobroker/npm-debug.log
! 2324 info phantomjs-prebuilt@2.1.13 Failed to exec install script
! 2325 verbose unlock done using /root/.npm/_locks/phantomjs-prebuilt-bb99dd8fdeb6df0b.lock for /opt/iobroker/node_modules/iobroker.phantomjs/node_modules/phantomjs-prebuilt
! 2326 verbose about to build /opt/iobroker/node_modules/iobroker.phantomjs
! 2327 verbose unlock done using /root/.npm/_locks/iobroker-phantomjs-b2ccf7fc4b57cd9b.lock for /opt/iobroker/node_modules/iobroker.phantomjs
! 2328 verbose stack Error: phantomjs-prebuilt@2.1.13 install:node install.js
! 2328 verbose stack Exit status 1
! 2328 verbose stack at EventEmitter. <anonymous>(/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)
! 2328 verbose stack at emitTwo (events.js:87:13)
! 2328 verbose stack at EventEmitter.emit (events.js:172:7)
! 2328 verbose stack at ChildProcess. <anonymous>(/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
! 2328 verbose stack at emitTwo (events.js:87:13)
! 2328 verbose stack at ChildProcess.emit (events.js:172:7)
! 2328 verbose stack at maybeClose (internal/child_process.js:821:16)
! 2328 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
! 2329 verbose pkgid phantomjs-prebuilt@2.1.13
! 2330 verbose cwd /opt/iobroker</anonymous></anonymous>Any help? :? `
Konntest du das irgendwann? PhantomJS ist ziemlich resourcenanfordernd und vermutlich kann man am Raspi das gar nicht machen. Immer hin du kannst frei zwischen npm Versionen hier und her umschalten.Befehl kennst du schon.
-
Nein. Dieses AddOn sollte zum ersten Mal installiert werden.
Nutze keinen Raspi. Ist ein odroid C2 mit 2GB Ram und 8GB eMCC Speicher. Ressourcen sind noch genug vorhanden.
-
Nein. Dieses AddOn sollte zum ersten Mal installiert werden.
Nutze keinen Raspi. Ist ein odroid C2 mit 2GB Ram und 8GB eMCC Speicher. Ressourcen sind noch genug vorhanden. `
Ich vermute, dass für Odroid C2 kein prebuild binary da ist.Und um die zu bauen brauchst du laut http://phantomjs.org/build.html
` > Hardware requirementsRAM: at least 4 GB
Disk space: at least 3 GB
CPU: 1.8 GHz, 4 cores or more `
ich denke, dein Odroid ist doch nicht so schnell.
-
… jetzt hats mich erwischt, modbus adapter ist tot.
modbus zurück auf 0.3.11 - diese Version läuft (wieder).