So entfernen Sie Homebridge auf Raspberry Pi
Wie kann ich Sie entfernen Homebridge aus einem Raspberry Pi-3. Ich habe versucht, die folgenden ohne Glück.
pi@Development:~ $ sudo npm uninstall homebridge
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.
Habe ich auch versucht, es zu entfernen, nicht als sudo. Viel mehr Ergebnis, aber noch kein Glück.
pi@Development:~ $ npm uninstall homebridge
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.
npm ERR! Linux 4.4.21-v7+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "uninstall" "homebridge"
npm ERR! node v7.3.0
npm ERR! npm v4.0.5
npm ERR! path /home/pi/node_modules/.staging
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall mkdir
npm ERR! Error: EACCES: permission denied, mkdir '/home/pi/node_modules/.staging'
npm ERR! { Error: EACCES: permission denied, mkdir '/home/pi/node_modules/.staging'
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/home/pi/node_modules/.staging' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator
npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/npm-debug.log
Hast du es installiert weltweit (mit die -g-flag)? Wenn ja, versuchen Sie, hinzufügen -g zwischen deinstallieren und homebridge
Lesen Sie dieser
Lesen Sie dieser
InformationsquelleAutor Husar | 2016-12-27
Du musst angemeldet sein, um einen Kommentar abzugeben.
Sie können es weltweit als root:
Homebridge die Konfigurations-Dateien werden gespeichert in ~/.homebridge (wenn Sie Standard-Benutzer "pi", ist das Verzeichnis /home/pi/.homebridge)
InformationsquelleAutor Rafael Trestini