fhem-docker icon indicating copy to clipboard operation
fhem-docker copied to clipboard

Update nodejsVersion to >18.x or higher for support of npm >10.x

Open forestvogo opened this issue 2 years ago • 5 comments

Using the latest provided version of dockerized FHEM there are issues updating npm inside of docker to 10.x. The requirements therefore are requesting nodejsVersion >18.x instead of the provided version 16.20.2.

What else is needed from my side?

Thanks in advance and best regards Volker

forestvogo avatar Nov 08 '23 13:11 forestvogo

What ist the usecase of running npm packages inside of FHEM container instead of using a seperate container?

sidey79 avatar Nov 08 '23 13:11 sidey79

Hi @sidey79 ,

nothing from my side. It is only annoying to see the FHEM system showing a red icon for not being up-to-date.

Therefore I was trying to find a solution by getting the latest versions into the system.

Cheers Volker

forestvogo avatar Nov 08 '23 17:11 forestvogo

The solution i recommend is using the minimal Image :

ghcr.io/fhem/fhem-minimal-docker:3.3.1-buster

There ist no nodejs installed, so no warning.

sidey79 avatar Nov 08 '23 19:11 sidey79

@sidey79 will give it a try. Buster? Quite old bookworm is already out. Any chance on this?

thx and cheers Volker

forestvogo avatar Nov 08 '23 19:11 forestvogo

Bullseye ist also available, but bookworm isn't finished today:

docker pull ghcr.io/fhem/fhem-minimal-docker:3.3.1-bullseye

Those images are updated at regular base.

sidey79 avatar Nov 08 '23 19:11 sidey79

The latest bullseye image ghcr.io/fhem/fhem-docker:dev-bullseye contains nodejs 18, so this issue may probably be closed.

git-developer avatar Apr 16 '24 05:04 git-developer

Hi @git-developer , just confirmed by updating my system. Thx a lot for your efforts. Will mark this as resolved.

forestvogo avatar Apr 16 '24 08:04 forestvogo