NEWS
Amazon-DASH-Button
-
Hallo,
ich habe den Amazon-Dash-Button am laufen. Aber auf einmal will er nicht mehr (nach Neustart des Rechners):
host.zotac 2018-10-16 22:45:13.007 info Restart adapter system.adapter.amazon-dash.0 because enabled host.zotac 2018-10-16 22:45:13.006 error instance system.adapter.amazon-dash.0 terminated with code 0 (OK) host.zotac 2018-10-16 22:45:13.005 error Caught by controller[1]: at Module.load (module.js:566:32) host.zotac 2018-10-16 22:45:13.005 error Caught by controller[1]: at Object.Module._extensions..js (module.js:664:10) host.zotac 2018-10-16 22:45:13.005 error Caught by controller[1]: at Module._compile (module.js:653:30) host.zotac 2018-10-16 22:45:13.005 error Caught by controller[1]: at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:3:21) host.zotac 2018-10-16 22:45:13.005 error Caught by controller[1]: at require (internal/module.js:11:18) host.zotac 2018-10-16 22:45:13.005 error Caught by controller[1]: at Module.require (module.js:597:17) host.zotac 2018-10-16 22:45:13.005 error Caught by controller[1]: at Function.Module._load (module.js:498:3) host.zotac 2018-10-16 22:45:13.005 error Caught by controller[1]: at tryModuleLoad (module.js:506:12) host.zotac 2018-10-16 22:45:13.005 error Caught by controller[1]: at Module.load (module.js:566:32) host.zotac 2018-10-16 22:45:13.005 error Caught by controller[1]: at Object.Module._extensions..node (module.js:682:18) host.zotac 2018-10-16 22:45:13.005 error Caught by controller[1]: the module (for instance, using `npm rebuild` or `npm install`). host.zotac 2018-10-16 22:45:13.005 error Caught by controller[1]: NODE_MODULE_VERSION 57\. Please try re-compiling or re-installing host.zotac 2018-10-16 22:45:13.005 error Caught by controller[1]: NODE_MODULE_VERSION 64\. This version of Node.js requires host.zotac 2018-10-16 22:45:13.005 error Caught by controller[1]: was compiled against a different Node.js version using host.zotac 2018-10-16 22:45:13.005 error Caught by controller[1]: 2018-10-16 22:45:12.487 - [31merror[39m: amazon-dash.0 Error: The module '/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/build/Release/pcap_binding.node' host.zotac 2018-10-16 22:45:13.005 error Caught by controller[1]: the module (for instance, using `npm rebuild` or `npm install`). host.zotac 2018-10-16 22:45:13.005 error Caught by controller[1]: NODE_MODULE_VERSION 57\. Please try re-compiling or re-installing host.zotac 2018-10-16 22:45:13.005 error Caught by controller[1]: NODE_MODULE_VERSION 64\. This version of Node.js requires host.zotac 2018-10-16 22:45:13.004 error Caught by controller[1]: was compiled against a different Node.js version using host.zotac 2018-10-16 22:45:13.004 error Caught by controller[1]: 2018-10-16 22:45:12.487 - amazon-dash.0 uncaught exception: The module '/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/build/Release/pcap_binding.node' host.zotac 2018-10-16 22:45:13.004 error Caught by controller[0]: at Module.load (module.js:566:32) host.zotac 2018-10-16 22:45:13.004 error Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10) host.zotac 2018-10-16 22:45:13.004 error Caught by controller[0]: at Module._compile (module.js:653:30) host.zotac 2018-10-16 22:45:13.004 error Caught by controller[0]: at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:3:21) host.zotac 2018-10-16 22:45:13.004 error Caught by controller[0]: at require (internal/module.js:11:18) host.zotac 2018-10-16 22:45:13.004 error Caught by controller[0]: at Module.require (module.js:597:17) host.zotac 2018-10-16 22:45:13.004 error Caught by controller[0]: at Function.Module._load (module.js:498:3) host.zotac 2018-10-16 22:45:13.004 error Caught by controller[0]: at tryModuleLoad (module.js:506:12) host.zotac 2018-10-16 22:45:13.004 error Caught by controller[0]: at Module.load (module.js:566:32) host.zotac 2018-10-16 22:45:13.004 error Caught by controller[0]: at Object.Module._extensions..node (module.js:682:18) host.zotac 2018-10-16 22:45:13.004 error Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`). host.zotac 2018-10-16 22:45:13.004 error Caught by controller[0]: NODE_MODULE_VERSION 57\. Please try re-compiling or re-installing host.zotac 2018-10-16 22:45:13.004 error Caught by controller[0]: NODE_MODULE_VERSION 64\. This version of Node.js requires host.zotac 2018-10-16 22:45:13.004 error Caught by controller[0]: was compiled against a different Node.js version using host.zotac 2018-10-16 22:45:13.003 error Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/build/Release/pcap_binding.node' amazon-dash.0 2018-10-16 22:45:12.540 info starting. Version 0.2.9 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v8.12.0 host.zotac 2018-10-16 22:45:12.275 info instance system.adapter.amazon-dash.0 started with pid 31568</anonymous></anonymous>
Nachdem ich ein reinstall vom iobroker gemacht hatte, lief es für zwei Tage. Nach Neustart des Rechners war der Fehler aber wieder da.
Ideen was da schief läuft?
npm 6.4.1
nodejs v8.12.0
node v10.12.0
Neustarten von iobroker hat geholfen. Aber immer nur bis zum nächsten Neustart des Rechners.
-
host.zotac 2018-10-16 22:45:13.004 error Caught by controller[0]: NODE_MODULE_VERSION 57\. Please try re-compiling or re-installing host.zotac 2018-10-16 22:45:13.004 error Caught by controller[0]: NODE_MODULE_VERSION 64\. This version of Node.js requires
steht doch da..
von wegen nix gemacht… :roll: ein node update ist gelaufen..
-
Das Problem sind deine zwei Node Versionen. Solltest Node und Nodejs mal komplett deinstallieren und dann entsprechend der Anleitung installieren.
Deshalb könnte es auch passieren, dass der Adapter mit einer anderen Version kompiliert wurde als er versucht wird auszuführen.
-
Ich kann Dash momentan gar nicht installieren, hatte auf node 8 geupgraded, alles außer Dash läuft danach.
! ````
$ ./iobroker add amazon-dash --host ioBroker
NPM version: 4.6.1
npm install iobroker.amazon-dash --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
npm WARN addRemoteGit Error: not found: gitnpm WARN addRemoteGit at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
npm WARN addRemoteGit at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
npm WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:284:29
npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:152:21)
npm WARN addRemoteGit git+https://github.com/bytzdev/node-socketwatcher.git resetting remote /root/.npm/_git-remotes/git-https-github-com-bytzdev-node-socketwatcher-git-e2de02de because of error: { Error: not found: git
npm WARN addRemoteGit at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
npm WARN addRemoteGit at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
npm WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:284:29
npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:152:21) code: 'ENOGIT' }
! npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/bytzdev/node-socketwatcher.git /root/.npm/_git-remotes/git-https-github-com-bytzdev-node-socketwatcher-git-e2de02de: undefinednpm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/bytzdev/node-socketwatcher.git /root/.npm/_git-remotes/git-https-github-com-bytzdev-node-socketwatcher-git-e2de02de: undefined
! npm ERR!
code ENOGIT
npm ERR! not found: gitnpm
ERR! npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.
npm ERR! Please check if you have git installed and in your PATH.
! npm ERR!
A complete log of this run can be found in:npm ERR! /root/.npm/_logs/2018-10-22T12_40_34_326Z-debug.log
! host.ioBroker create instance amazon-dash
ERROR: host.ioBroker error: reading io-package.json Error: ENOENT: no such file or directory, open 'null/io-package.json'
ERROR: process exited with code 20node v8.12.0 npm v4.6.1 Jemand eine Idee? Grüße Brati
-
Schaut aus als wäre git nicht installiert. Lässt sich z. B. mittels apt installieren
-
Schaut aus als wäre git nicht installiert. Lässt sich z. B. mittels apt installieren `
Danke, das war einfach. Ich habs nicht gelöscht :roll: (oder keine Ahnung was da beim Update passiert ist…)