node version >=14.17 is required. Found v12.22.6. #1

Closed
opened 2026-06-23 17:59:30 +02:00 by Griefed · 5 comments
Owner

@wpietruszewski on GitHub · https://github.com/Griefed/Gitlab-Semantic-Release/issues/1

When running griefed/gitlab-semantic-release:latest or 2.0.2, 2.0.1 I get following error:

/ # npx semantic-release
[semantic-release]: node version >=14.17 is required. Found v12.22.6.

From 2.x.x only 2.0.0 is working.

<!-- repoman:origin --> > **@wpietruszewski** on **GitHub** · https://github.com/Griefed/Gitlab-Semantic-Release/issues/1 When running griefed/gitlab-semantic-release:latest or 2.0.2, 2.0.1 I get following error: ```sh / # npx semantic-release [semantic-release]: node version >=14.17 is required. Found v12.22.6. ``` From 2.x.x only 2.0.0 is working.
Author
Owner

@Griefed on GitHub

Heya wpietruszewski,

thanks for the bug report. Currently trying to figure out why it installed version 12.22.
docker-dind uses alpine, so I switched to installing nodejs-current in this image as it is supposed to be version 16.11.1-r1 as per the alpine package registry, but it obviously didn't work the way I wanted it to.

<!-- repoman:origin --> > **@Griefed** on **GitHub** Heya wpietruszewski, thanks for the bug report. Currently trying to figure out why it installed version 12.22. `docker-dind` uses alpine, so I switched to installing `nodejs-current` in this image as it is supposed to be version 16.11.1-r1 as per [the alpine package registry](https://pkgs.alpinelinux.org/packages?name=node*&branch=edge), but it obviously didn't work the way I wanted it to.
Author
Owner

@Griefed on GitHub

The issue seems to be docker:stable as it seems to be using such an old Alpine version, that only Node 12.22.6 is available.
Unfortunately it is also one of the few last docker images which supports armv7.

Using docker:20.10.9 works as it installs Node 16.11.1 and npm 7.17.0, but it will from then on only be available for amd64 and arm64/v8 infrastructures.

<!-- repoman:origin --> > **@Griefed** on **GitHub** The issue seems to be `docker:stable` as it seems to be using such an old Alpine version, that only Node 12.22.6 is available. Unfortunately it is also one of the few last `docker` images which supports `armv7`. Using `docker:20.10.9` works as it installs Node 16.11.1 and npm 7.17.0, but it will from then on only be available for amd64 and arm64/v8 infrastructures.
Author
Owner

@Griefed on GitHub

Well whoops, the workflow closed the issue automatically. Sorry about that.

Please try version 3.0.0 and let me know whether this fixed the issue for you!

<!-- repoman:origin --> > **@Griefed** on **GitHub** Well whoops, the workflow closed the issue automatically. Sorry about that. Please try version 3.0.0 and let me know whether this fixed the issue for you!
Author
Owner

@Griefed on GitHub

Unfortunately this change now made the docker image incompatible with armv7architectures. Please be aware of that when using it.

<!-- repoman:origin --> > **@Griefed** on **GitHub** Unfortunately this change now made the docker image incompatible with `armv7`architectures. Please be aware of that when using it.
Author
Owner

@wpietruszewski on GitHub

Hi,

Thanks for such fast response. I've checked 3.0.0 and it works okay.

Cheers,
Wojtek

<!-- repoman:origin --> > **@wpietruszewski** on **GitHub** Hi, Thanks for such fast response. I've checked 3.0.0 and it works okay. Cheers, Wojtek
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Griefed/Gitlab-Semantic-Release#1
No description provided.