Closed Boon-in-Oz closed 3 months ago
The pre builds are part of the homebridge-config-ui-x package, have you updated to the latest ?
Thanks for helping me out. I'm trying to update from 4.50.1 but as far as I could tell, I needed to update node.js first.
Can I simply use this to update to the latest Homebridge version now?
npm install -g --unsafe-perm homebridge homebridge-config-ui-x
edit: I ran this:
npm update -g homebridge homebridge-config-ui-x
and it appears to have worked! I could run hb-service rebuild
and then hb-service start
and my Homebridge appears to be running happily again.
It seems there is a hole in the docs, perhaps because new users are being directed to use Hyper-V now? Anyhow, thanks for pointing me in the right direction.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed as no further activity has occurred.
Current Situation
Hi, I'm trying to upgrade my installations under Windows 10 using the following: https://github.com/homebridge/homebridge/wiki/Install-Homebridge-on-Windows-10#major-nodejs-version-updates but I'm stuck trying to build binaries after the warning:
npm ERR! prebuild-install WARN install No prebuilt binaries found (target=20.11.0 runtime=node arch=x64 libc= platform=win32)
I've upgraded node.js from v16.x to v20.11.0. I've successfully upgraded to npm 10.4.0 and installed Python 3.12.1. It seems the next step is to install Visual Studio, which I'm not in a position to do. Are there prebuilt binaries for Windows available anywhere?A second point, this part of the documentation no longer appears to be correct: https://github.com/homebridge/homebridge/wiki/Install-Homebridge-on-Windows-10#windows-build-tools I tried it and got the following output:
C:\Windows\System32>npm install --global windows-build-tools npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated windows-build-tools@5.2.2: Node.js now includes build tools for Windows. You probably no longer need this tool. See https://github.com/felixrieseberg/windows-build-tools for details.
It then downloaded Python 2.7.15 and vs_BuiltTools.exe, but the installation failed. I've included the full output at the end of my logs.Thank you for your time.
Logs
Configuration
Environment
Process Supervisor
hb-service
Additional Context
No response