Open macjeff opened 2 hours ago
Tks @macjeff for reporting this with logs - In this version of the UI, we included an updated node-pty, and it appears to fail on your setup.
Now to look deeper
@homebridge/node-pty-prebuilt-multiarch@0.12.0-beta.1 postinstall
> node scripts/post-install.js
\
> Cleaning release folder...
> Moving conpty.dll...
SKIPPED (not Windows)
> Generating compile_commands.json...
npm error code EEXIST
npm error syscall mkdir
npm error path /Users/sadmin/.npm/_cacache/content-v2/sha512/0e/0e
npm error errno EEXIST
npm error Invalid response body while trying to fetch https://registry.npmjs.org/glob: EACCES: permission denied, mkdir '/Users/sadmin/.npm/_cacache/content-v2/sha512/0e/0e'
npm error File exists: /Users/sadmin/.npm/_cacache/content-v2/sha512/0e/0e
npm error Remove the existing file and try again, or run npm
npm error with --force to overwrite files recklessly.
npm error A complete log of this run can be found in: /Users/sadmin/.npm/_logs/2024-11-16T17_05_31_539Z-debug-0.log
node:child_process:963
throw err;
^
Error: Command failed: npx node-gyp configure -- -f compile_commands_json
npm error code EEXIST
npm error syscall mkdir
npm error path /Users/sadmin/.npm/_cacache/content-v2/sha512/0e/0e
npm error errno EEXIST
npm error Invalid response body while trying to fetch https://registry.npmjs.org/glob: EACCES: permission denied, mkdir '/Users/sadmin/.npm/_cacache/content-v2/sha512/0e/0e'
npm error File exists: /Users/sadmin/.npm/_cacache/content-v2/sha512/0e/0e
npm error Remove the existing file and try again, or run npm
npm error with --force to overwrite files recklessly.
npm error A complete log of this run can be found in: /Users/sadmin/.npm/_logs/2024-11-16T17_05_31_539Z-debug-0.log
Describe The Bug
I get errors when installing beta 21 both through UI and Manual. Go back to beta 20 or 19 and it works fine.
Logs
Attached. Tried once and failed and got message to chown in the first log.
Did that but same result. I don't think that has anything to do with issue
Please see attachments homebridge-config-ui-x-error(before chown ).log homebridge-config-ui-x-error(after chown).log
Config
Homebridge UI Version
4.62.1 beta 21
Homebridge Version
2.0.0 beta 23
Node.js Version
22.11.0
Operating System
macOS
Environment Info
Using hb-service
Raspberry Pi Model
None