You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm error code EACCES
npm error syscall rename
npm error path /usr/local/lib/node_modules/homebridge-config-ui-x
npm error dest /usr/local/lib/node_modules/.homebridge-config-ui-x-3gtnOIj4
npm error errno -13
npm error Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/homebridge-config-ui-x' -> '/usr/local/lib/node_modules/.homebridge-config-ui-x-3gtnOIj4'
npm error at async Object.rename (node:internal/fs/promises:782:10)
npm error at async moveFile (/usr/local/lib/node_modules/npm/node_modules/@npmcli/fs/lib/move-file.js:30:5)
npm error at async Promise.allSettled (index 0)
npm error at async [reifyPackages] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:325:11)
npm error at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:142:5)
npm error at async Install.exec (/usr/local/lib/node_modules/npm/lib/commands/install.js:150:5)
npm error at async Npm.exec (/usr/local/lib/node_modules/npm/lib/npm.js:207:9)
npm error at async module.exports (/usr/local/lib/node_modules/npm/lib/cli/entry.js:74:5) {
npm error errno: -13,
npm error code: 'EACCES',
npm error syscall: 'rename',
npm error path: '/usr/local/lib/node_modules/homebridge-config-ui-x',
npm error dest: '/usr/local/lib/node_modules/.homebridge-config-ui-x-3gtnOIj4'
npm error }
npm error
npm error The operation was rejected by your operating system.
npm error It is likely you do not have the permissions to access this file as the current user
npm error
npm error If you believe this might be a permissions issue, please double-check the
npm error permissions of the file and its containing directories, or try running
npm error the command again as root/Administrator.
npm error A complete log of this run can be found in: /Users/matthewm1minihome/.npm/_logs/2024-09-19T02_36_00_565Z-debug-0.log
Thank you for your help so far. Any idea how I might be able to fix it? This is on a mac mini with only 1 user, myself. I'm guessing some update I did to MacOS broke this permission somehow? I have been researching but havent figured out how to fix yet, I even tried to do a clean install, etc.
Current Situation
I've been having issues updating this for weeks. Any ideas on what might be wrong?
Logs
DIR: /usr/local
CMD: npm install -g [email protected]
npm error code EACCES
npm error syscall rename
npm error path /usr/local/lib/node_modules/homebridge-config-ui-x
npm error dest /usr/local/lib/node_modules/.homebridge-config-ui-x-3gtnOIj4
npm error errno -13
npm error Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/homebridge-config-ui-x' -> '/usr/local/lib/node_modules/.homebridge-config-ui-x-3gtnOIj4'
npm error at async Object.rename (node:internal/fs/promises:782:10)
npm error at async moveFile (/usr/local/lib/node_modules/npm/node_modules/@npmcli/fs/lib/move-file.js:30:5)
npm error at async Promise.allSettled (index 0)
npm error at async [reifyPackages] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:325:11)
npm error at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:142:5)
npm error at async Install.exec (/usr/local/lib/node_modules/npm/lib/commands/install.js:150:5)
npm error at async Npm.exec (/usr/local/lib/node_modules/npm/lib/npm.js:207:9)
npm error at async module.exports (/usr/local/lib/node_modules/npm/lib/cli/entry.js:74:5) {
npm error errno: -13,
npm error code: 'EACCES',
npm error syscall: 'rename',
npm error path: '/usr/local/lib/node_modules/homebridge-config-ui-x',
npm error dest: '/usr/local/lib/node_modules/.homebridge-config-ui-x-3gtnOIj4'
npm error }
npm error
npm error The operation was rejected by your operating system.
npm error It is likely you do not have the permissions to access this file as the current user
npm error
npm error If you believe this might be a permissions issue, please double-check the
npm error permissions of the file and its containing directories, or try running
npm error the command again as root/Administrator.
npm error A complete log of this run can be found in: /Users/matthewm1minihome/.npm/_logs/2024-09-19T02_36_00_565Z-debug-0.log
Cleaning up npm cache, please wait...
npm cache cleared, please try updating homebridge-config-ui-x again.
Operation failed with code 243.
You can download this log file for future reference.
See https://github.com/homebridge/homebridge-config-ui-x/wiki/Troubleshooting for help.
Config
No response
Homebridge UI Version
4.56.4
Homebridge Version
7A19
Node.js Version
v20.17.0
Operating System
macOS
Environment Info
None
Raspberry Pi Model
None
The text was updated successfully, but these errors were encountered: