-
Notifications
You must be signed in to change notification settings - Fork 41
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
[Bug] - NodeJS Package Issue #875
Comments
@Joe-Zer0 if you install
Verify:
|
Thank you for that workaround. That will be helpful. Hopefully they will update the main nodejs package soon. |
I don't think they will. They usually leave the original package name for backwards compatibility and then append a short version number for subsequent releases. They did the same for python. |
I believe that is due to python being critical to the functionality of the operation system. Most packages are kept up to date. |
NodeJS 20 was added in the 2023.3.20231211 release, and can be installed through the We namespace packages such as NodeJS so that we don't force customers to migrate from one major version to the next, rather allowing them to move at their own pace. This is covered for Python in the Python in AL2023 I am going to keep this issue open for some Documentation updates that cover nodejs specifically, as I see that isn't currently in our User Guide. |
Should the existing syntax be used to allow users to pin a specific version? I think there should be a way to stay on the latest version (and latest LTS version in the case of node) without changing packages. |
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:
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
The text was updated successfully, but these errors were encountered: