Skip to content

[Bug] - NodeJS Package Issue #875

Open
@Joe-Zer0

Description

@Joe-Zer0

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:

  1. dnf install nodejs -y
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions