homebridge / docker-homebridge

Homebridge Docker. HomeKit support for the impatient using Docker on x86_64, Raspberry Pi (armhf) and ARM64. Includes ffmpeg + libfdk-aac.
https://hub.docker.com/r/homebridge/homebridge/
GNU General Public License v3.0
2.57k stars 241 forks source link

Node.js v16.14.2 needed for Plugin Homebridge ZP #425

Closed jr7216 closed 2 years ago

jr7216 commented 2 years ago

Node.js v16.14.2 needed for Plugin Homebridge ZP

Fish2 commented 2 years ago

Hue and samsung tv needs the same

Spy-1 commented 2 years ago

please update container with Node 16.14.2 and NPM 8.5.5

JasSmiths commented 2 years ago

Agree, I keep getting spammed to say there’s a NodeJS and NPM update @oznu

Faasteer commented 2 years ago

Jablotron and some others plugins need this update too. Please help us. :)

blue-kaleidoscope commented 2 years ago

Yup, I am also affected unfortunately. :-/

AlexG-78 commented 2 years ago

I found a hacky workaround for my Synology Docker container. I updated node manually to 16.4.2

  1. Login via ssh then type: docker exec -it homebridge /bin/sh
  2. Edit the repositories file for apk vi /etc/apk/repositories
  3. Change the repositories version to 3.15 http://dl-cdn.alpinelinux.org/alpine/v3.15/main http://dl-cdn.alpinelinux.org/alpine/v3.15/community
  4. Then do apk update apk install node mv /usr/local/bin/node /usr/local/bin/node_old ln -s /usr/bin/node /usr/local/bin/
  5. run node -v v16.14.2
  6. restart your container and you can update your plugins. This solution works for me until the new image is deployed to docker repo
blue-kaleidoscope commented 2 years ago

Does not work on my container unfortunately. In step 4 after the update step I had to use apk add node instead of apk install node as install is not available on my container. Isn't it weird that this command works on your system?

Anyway, here is my output with add

/homebridge # apk add node ERROR: unable to select packages: node (no such package): required by: world[node]

Any ideas?

Fish2 commented 2 years ago

I did nodejs and that worked

Fish2 commented 2 years ago

Also on another note alpine, s6 and ffmpeg-for-homebridge

Also nodejs container tag is also not inline with what is inside the container.

S474N commented 2 years ago

New HB with nodejs v16.14.2 is available on DockerHub ;)

https://hub.docker.com/r/oznu/homebridge/tags

jr7216 commented 2 years ago

HB with nodejs v.16.14.2 is available.