Open
Description
Describe the bug
The package nodejs.x86_64 is version 1:18.20.4-1.amzn2023.0.1. This needs to be updated to NodeJS 22, or at least NodeJS 20. As of December 18th 2024, updating NPM will fail due to the the version of NodeJS being <20.
To Reproduce
Steps to reproduce the behavior:
- dnf install nodejs -y
- npm install npm -g
Expected behavior
NPM should update without error.
Desktop (please complete the following information):
I ran into this issue with the docker image amazonlinux:2023
Additional context
I also tried installing the package nodejs20. But subsequently running node --version
gives "bash: node: command not found". Which I believe is also an issue.
EDIT: Adding link to NodeJS releases for easy reference - https://nodejs.org/en/about/previous-releases