-
Notifications
You must be signed in to change notification settings - Fork 51
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
Missing dependency 404 (nonexistent) #185
Comments
Hmm, looks like a node-gyp error, are you sure that you have run I would like to see the full logs if possible. Edit: AFAIK |
Okay,
But trying to install
|
Succeeded in exact version install |
for some reason, package-lock points to this tgz file, which doesn't exist homebridge-mi-hygrothermograph/package-lock.json Line 4764 in 23dc573
|
I encountered this 404 error today when upgrading node, but was able to resolve it manually installing: |
That seems to work. I encountered that the plugin didn't load today after the Node update, and that allowed it to rebuild using the newer version. |
@the-man-machine do you use Node >=18? Im stuck on Node 16.20.2 because of this issue. Tried lots of things but nothing helped. |
@mkarras yes, I am currently on v20.9.0 and temperature and humidity are reading correctly. |
@the-man-machine on witch device you are running Homebridge? I'm using a raspberry pi. |
@mkarras generic x86_64 box with a bluetooth dongle, Homebridge itself is running in Docker. |
I'm experiencing the same problem on my Raspberry Pi Model B Rev 2. The issue appears to originate from this repository: https://github.com/abandonware/node-bluetooth-hci-socket/. It seems likely to be fixed soon, as there's a pending pull request: abandonware/node-bluetooth-hci-socket#55. Let's wait a few days for the new version of node-bluetooth-hci-socket. Or has anyone found a workaround? |
Seems the error is still the same after I install the plugin. Error after homebridge restart (because it was not installed with the plugin because of the error before): The URL which is trying to access is nonexistent when i copy it ( https://github.com/abandonware/node-bluetooth-hci-socket/releases/download/0.5.3-10/bluetooth_hci_socket-0.5.3-10-node-v115-linux-arm.tar.gz ) so it seems to be missing for the plugin in homebridge. Maybe the link should be taken from here? https://github.com/abandonware/node-bluetooth-hci-socket/tags It should propably call the newest version which is: Not sure, if its the right solution. EDIT: Could it be worth trying to change this URL in here? From newer version in here? |
@EnTonyH I just published 3.4.1 on npm with the fix from abandonware/node-bluetooth-hci-socket#55 included. Please give it a try and let me know if it helps. |
@hannseman I just tried it. It seems there might be a deeper problem. I would recommend rolling back to the previous version, 3.4.0, to prevent people from ending up with a failed installation. Error with terminated installation: Log: I will try to look into it over the weekend. |
@EnTonyH It installs fine for me, took around 1 minute to complete on a RPI4 4GB RAM. By looking at your logs it appears to have been trying to install for over 20 minutes?
What hardware are you trying to install on? Can you try and install it manually into a temporary folder and see what happens?
|
TLDR: I figured out a solution. Run the plugin installation as the At first, i tried running it from restricted shell in homebridge terminal and got this error after installing it: I did a fresh install. IMPORTANT STEPS BELOW
So far so good, no error :-) |
Just in case, want to inform that the dependency
https://github.com/abandonware/node-bluetooth-hci-socket/releases/download/0.5.3-8/bluetooth_hci_socket-0.5.3-8-node-v93-linux-x64.tar.gz
is nonexistentHomebridge Log / Command Output
The text was updated successfully, but these errors were encountered: