NEWS
NPM Install klappt nicht
-
Hallo zusammen,
ich benötige dringend den KNX Adapter in Version 1.0.20. über den Admin komme ich leider nur bis 0.1.38 zurück.
Auf NPM steht der Adapter in 1.0.20 zur Verfügung:
https://www.npmjs.com/package/iobroker.knx/v/1.0.20Leider kommt beim ausführen der Befehle
cd /opt/iobroker npm i iobroker.knx@1.0.20
bzw.
npm install https://www.npmjs.com/package/iobroker.knx/v/1.0.20
immer folgende Fehlermeldung:
pi@ioBroker-RasPi4:/opt/iobroker $ npm i iobroker.knx@1.0.20 npm WARN deprecated xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules/iobroker.info/node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/string-similarity/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/xpath/package.json' npm ERR! code EACCES npm ERR! syscall unlink npm ERR! path /opt/iobroker/node_modules/eibd/bin/groupread npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/eibd/bin/groupread' npm ERR! [OperationalError: EACCES: permission denied, unlink '/opt/iobroker/node_modules/eibd/bin/groupread'] { npm ERR! cause: [Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/eibd/bin/groupread'] { npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'unlink', npm ERR! path: '/opt/iobroker/node_modules/eibd/bin/groupread' npm ERR! }, npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'unlink', npm ERR! path: '/opt/iobroker/node_modules/eibd/bin/groupread', npm ERR! parent: 'iobroker' npm ERR! } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2021-09-27T19_39_58_773Z-debug.log
Habt ihr eine Idee, was ich falsch mache?
-
Mit dem Adapter machst du nicht falsch.
Bei mir:echad@chet:/opt/iobroker $ npm i iobroker.knx@1.0.20 npm WARN deprecated xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0 added 17 packages in 25s 39 packages are looking for funding run `npm fund` for details echad@chet:/opt/iobroker $
Da ist bei eibd was krumm gelaufen. Wo auch immer das herkommt.
Am Rande: Ist deine Zeitzone richtig gestellt?
-
@thomas-braun denke schon:
pi@ioBroker-RasPi4:~ $ date Di 28. Sep 15:18:39 CEST 2021
Hab nun auch mal versucht den iobroker vorher zu stoppen
iob stop
brachte auch nichts. Auch ein Neustart des Raspberrys brachte nichts.
Vielleicht muss ich den Adapter komplett löschen, bevor ich diese Version installieren kann, aber dann verliere ich meine ganzen händisch korrigierten Objekte, das kann ich nicht riskieren. War viel arbeit -
Wenn du was löschen/loswerden musst, dann den eibd Kram.