Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while upgrading: directory not empty #935

Open
ceilingfan3521 opened this issue Oct 31, 2024 · 0 comments
Open

Error while upgrading: directory not empty #935

ceilingfan3521 opened this issue Oct 31, 2024 · 0 comments

Comments

@ceilingfan3521
Copy link

What issue do you have? Please be as thorough and explicit as possible.

When trying to upgrade the homebridge-govee plugin from 10.9.2 to the latest (10.12.1), I receive an error.
The error says:
directory not empty, rename '/usr/local/lib/node_modules/homebridge-govee' -> '/usr/local/lib/node_modules/.homebridge-govee-4xHIsKEi'

Here is the complete error:
Screenshot 2024-10-30 at 9 26 40 PM

Details of your setup.

I use (1) Homebridge UI-X

  • Which version of Homebridge/HOOBS do you have?
    Homebridge 1.8.5

  • Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.
    macOS Sonoma 14.1.1
    node 20.18.0
    npm 10.8.2

  • Which version of this plugin (homebridge-govee) do you have? Has the issue started since upgrading from a previous version?
    10.9.2

  • Which Govee devices do you have that are causing issues? Please include product models if applicable.

npm error code ENOTEMPTY
|npm error syscall rename
|npm error path /usr/local/lib/node_modules/homebridge-govee
|npm error dest /usr/local/lib/node_modules/.homebridge-govee-4xHIsKEi
|npm error errno -66
|npm error ENOTEMPTY: directory not empty, rename '/usr/local/lib/node_modules/homebridge-govee' -> '/usr/local/lib/node_modules/.homebridge-govee-4xHIsKEi'
|
npm error A complete log of this run can be found in: /Users/kyle.neterer/.npm/_logs/2024-10-31T01_35_51_995Z-debug-0.log
|


Error: Operation failed with code 190.

You can download this log file for future reference.

See https://github.com/homebridge/homebridge-config-ui-x/wiki/Troubleshooting for help.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant