Skip to content
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

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

Closed
forestvogo opened this issue Nov 8, 2023 · 7 comments · Fixed by #155
Closed

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

forestvogo opened this issue Nov 8, 2023 · 7 comments · Fixed by #155

Comments

@forestvogo
Copy link

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

@sidey79
Copy link
Contributor

sidey79 commented Nov 8, 2023

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

@forestvogo
Copy link
Author

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

@sidey79
Copy link
Contributor

sidey79 commented Nov 8, 2023

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.

@forestvogo
Copy link
Author

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

thx and cheers
Volker

@sidey79
Copy link
Contributor

sidey79 commented Nov 8, 2023

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 sidey79 linked a pull request Mar 10, 2024 that will close this issue
@git-developer
Copy link
Contributor

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

@forestvogo
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

3 participants