NEWS
ZigBee 0.10.3
-
lösche manuell diese Ordner aus den node-modules
@serialport cc-znp serialport zcl-packet zigbee-shepherd zigbee-shepherd-convertersollte ein Ordner nicht da sein ist nicht schlimm...hauptsache der ganze pulk ist nicht vorhanden
und installiere den Adapter ohne den zu löschen aus dem GIT nochmal
-
lösche manuell diese Ordner aus den node-modules
@serialport cc-znp serialport zcl-packet zigbee-shepherd zigbee-shepherd-convertersollte ein Ordner nicht da sein ist nicht schlimm...hauptsache der ganze pulk ist nicht vorhanden
und installiere den Adapter ohne den zu löschen aus dem GIT nochmal
-
Nun passiert das, wenn ich den Adapter aus dem GIT erneut installiere.
pi@ioBroker-Pi:/opt/iobroker $ sudo npm install iobroker.zigbee > serialport@6.2.2 install /opt/iobroker/node_modules/cc-znp/node_modules/serialport > prebuild-install || node-gyp rebuild module.js:550 throw err; ^ Error: Cannot find module './index' at Function.Module._resolveFilename (module.js:548:15) at Function.Module._load (module.js:475:25) at Module.require (module.js:597:17) at require (internal/module.js:11:18) at Object.<anonymous> (/opt/iobroker/node_modules/.bin/rc:2:10) at Module._compile (module.js:653:30) at Object.Module._extensions..js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.15.0" gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/cc-znp/node_modules/serialport/.node-gyp" gyp WARN install got an error, rolling back install gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/.node-gyp' gyp ERR! System Linux 4.14.79-v7+ 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/cc-znp/node_modules/serialport gyp ERR! node -v v8.15.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the serialport@6.2.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! /root/.npm/_logs/2019-06-02T16_53_03_526Z-debug.log -
Nun passiert das, wenn ich den Adapter aus dem GIT erneut installiere.
pi@ioBroker-Pi:/opt/iobroker $ sudo npm install iobroker.zigbee > serialport@6.2.2 install /opt/iobroker/node_modules/cc-znp/node_modules/serialport > prebuild-install || node-gyp rebuild module.js:550 throw err; ^ Error: Cannot find module './index' at Function.Module._resolveFilename (module.js:548:15) at Function.Module._load (module.js:475:25) at Module.require (module.js:597:17) at require (internal/module.js:11:18) at Object.<anonymous> (/opt/iobroker/node_modules/.bin/rc:2:10) at Module._compile (module.js:653:30) at Object.Module._extensions..js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.15.0" gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/cc-znp/node_modules/serialport/.node-gyp" gyp WARN install got an error, rolling back install gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/.node-gyp' gyp ERR! System Linux 4.14.79-v7+ 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/cc-znp/node_modules/serialport gyp ERR! node -v v8.15.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the serialport@6.2.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! /root/.npm/_logs/2019-06-02T16_53_03_526Z-debug.log@voodoo78 sagte in ZigBee 0.10.3:
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.15.0"
-
@voodoo78 hm? ich bin zwar noch neu aber hatte auch probleme mit zigbee...
habe mir so geholfen: im verzeichniss opt/iobroker den befehl
npm rebuild ausgeführt....
danach den serialport repariert wie mir jemand in einem anderen froum geschrieben hat mit dem befehl:
sudo npm install serialport --unsafe-perm --build-from-source
Rennt jetzt wie Sau!!!!
Aber bitte ich bin anfänger und probier mich auch in den foren aus und mach gerade learning by doing... also alles ohne gewähr...
lg
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden