ebaauw / homebridge-hue

Homebridge plugin for Philips Hue
Apache License 2.0
901 stars 91 forks source link

Can't uninstall plugin #1160

Closed gmum4d closed 1 year ago

gmum4d commented 1 year ago

Issue

I have changed from this plugin to Homebridge-deconz. I have disabled this plugin and want to uninstall it but I get an ERROR

Log Messages

USER: pi
DIR: /usr/local
CMD: sudo -E -n npm uninstall -g homebridge-hue

npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /usr/local/lib/node_modules/homebridge-hue
npm ERR! dest /usr/local/lib/node_modules/.homebridge-hue-34H5WCcU
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/usr/local/lib/node_modules/homebridge-hue' -> '/usr/local/lib/node_modules/.homebridge-hue-34H5WCcU'

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2023-06-26T13_06_50_343Z-debug-0.log

Operation failed. Please review log for details.

Debug Files

homebridge-hue.json.gz

ebaauw commented 1 year ago

This is a problem with npm, not with Homebridge Hue. You might try and clear the npm cache.

gmum4d commented 1 year ago

Thank you. Worked perfectly

On 26 Jun 2023, at 14:21, Erik Baauw @.***> wrote:

This is a problem with npm, not with Homebridge Hue. You might try and clear the npm cache.

— Reply to this email directly, view it on GitHub https://github.com/ebaauw/homebridge-hue/issues/1160#issuecomment-1607465268, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6XNLDLV5HMPUEGEBYXZ4DXNGEGLANCNFSM6AAAAAAZUEVRQU. You are receiving this because you authored the thread.