NEWS
[gelöst] Fehler bei Installationen
-
Hallo Zusammen,
seit kurzen bekommen ich bei der Installation eines Adapters folgende Mitteilungen
$ iobroker add whatsapp-cmb auto --host raspberrypi NPM version: 6.14.11 npm install iobroker.whatsapp-cmb@0.1.6 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code EACCES npm ERR! syscall unlinknpm ERR! path /opt/iobroker/node_modules/.canvas.DELETE/build/Makefilenpm ERR! errno -13 npm ERR! Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/.canvas.DELETE/build/Makefile' npm ERR! [OperationalError: EACCES: permission denied, unlink '/opt/iobroker/node_modules/.canvas.DELETE/build/Makefile'] {npm ERR! cause: [Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/.canvas.DELETE/build/Makefile'] {npm ERR! errno: -13,npm ERR! code: 'EACCES',npm ERR! syscall: 'unlink',npm ERR! path: '/opt/iobroker/node_modules/.canvas.DELETE/build/Makefile'npm ERR! },npm ERR! errno: -13,npm ERR! code: 'EACCES',npm ERR! syscall: 'unlink',npm ERR! path: '/opt/iobroker/node_modules/.canvas.DELETE/build/Makefile',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 usernpm ERR! npm ERR! If you believe this might be a permissions issue, please double-check thenpm ERR! permissions of the file and its containing directories, or try runningnpm ERR! the command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-10-03T17_27_16_512Z-debug.log host.raspberrypi Cannot install iobroker.whatsapp-cmb@0.1.6: 243 ERROR: Process exited with code 25auch dieser Befehl an der Console läuft auf das selbe Ergebnis
sudo iobroker add whatsapp-cmb auto --host raspberrypiKann mir bitte wer helfen?
Danke :-)
-
Hallo Zusammen,
seit kurzen bekommen ich bei der Installation eines Adapters folgende Mitteilungen
$ iobroker add whatsapp-cmb auto --host raspberrypi NPM version: 6.14.11 npm install iobroker.whatsapp-cmb@0.1.6 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code EACCES npm ERR! syscall unlinknpm ERR! path /opt/iobroker/node_modules/.canvas.DELETE/build/Makefilenpm ERR! errno -13 npm ERR! Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/.canvas.DELETE/build/Makefile' npm ERR! [OperationalError: EACCES: permission denied, unlink '/opt/iobroker/node_modules/.canvas.DELETE/build/Makefile'] {npm ERR! cause: [Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/.canvas.DELETE/build/Makefile'] {npm ERR! errno: -13,npm ERR! code: 'EACCES',npm ERR! syscall: 'unlink',npm ERR! path: '/opt/iobroker/node_modules/.canvas.DELETE/build/Makefile'npm ERR! },npm ERR! errno: -13,npm ERR! code: 'EACCES',npm ERR! syscall: 'unlink',npm ERR! path: '/opt/iobroker/node_modules/.canvas.DELETE/build/Makefile',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 usernpm ERR! npm ERR! If you believe this might be a permissions issue, please double-check thenpm ERR! permissions of the file and its containing directories, or try runningnpm ERR! the command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-10-03T17_27_16_512Z-debug.log host.raspberrypi Cannot install iobroker.whatsapp-cmb@0.1.6: 243 ERROR: Process exited with code 25auch dieser Befehl an der Console läuft auf das selbe Ergebnis
sudo iobroker add whatsapp-cmb auto --host raspberrypiKann mir bitte wer helfen?
Danke :-)
@plasmachef sagte in Fehler bei Installationen:
sudo iobroker
Das ist dein Fehler.
An der Stelle wird NIE mit sudo (root-Rechten) hantiert...iobroker stop iobroker fix iobroker startmal probieren. Wenn nicht noch mehr krumm ist könnte das vielleicht schon reichen.
Ansonsten das tun was im Log steht. Den Ordner löschen.
-
@plasmachef sagte in Fehler bei Installationen:
sudo iobroker
Das ist dein Fehler.
An der Stelle wird NIE mit sudo (root-Rechten) hantiert...iobroker stop iobroker fix iobroker startmal probieren. Wenn nicht noch mehr krumm ist könnte das vielleicht schon reichen.
Ansonsten das tun was im Log steht. Den Ordner löschen.
-
Das Verzeichniss gibt es gar nicht bei ioBroker mit einem Punkt vorraus
.canvans/opt/iobroker/node_modules/.canvas.DELETE/build/MakefileMal irgendwann unter Windows da rumgegurkt?
Schaut für mich aus wie ein versteckter Ordner. -
Mal irgendwann unter Windows da rumgegurkt?
Schaut für mich aus wie ein versteckter Ordner.Danke für die Tipps!
Sie haben mich auf die richte Spur geführt.
Es lag an einer defekten Installation von Canvas.Uninstall und Install haben das Problem gelöst :-)
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