Hallo,
habe Homebridge und möchte hierzu das aktuelle Update von Switchbot aufspielen. Leider erhalte ich bei der Installation eine Fehlermeldung, welche ich mir nicht erklären kann.
Ich nutze ein Rasperry und habe die aktuelle Node Version 16.18.0. Die Homebridge läuft unter 1.5.0.
Vielen Dank schonmal vorab.
Code
USER: pi
DIR: /usr/local
CMD: sudo -E -n npm install -g @switchbot/[email protected]
npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /usr/local/lib/node_modules/@switchbot/homebridge-switchbot
npm ERR! dest /usr/local/lib/node_modules/@switchbot/.homebridge-switchbot-UUyzm0HE
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/usr/local/lib/node_modules/@switchbot/homebridge-switchbot' -> '/usr/local/lib/node_modules/@switchbot/.homebridge-switchbot-UUyzm0HE'
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2022-10-24T13_35_39_030Z-debug-0.log
Operation failed. Please review log for details.
Alles anzeigen