-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Error in installing LTS version after trying latest version failure #1402
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
Comments
I am also having this issue on Amazon Linux 2 with Node 18. |
Same |
I have spent over 8 hours today trying to do this, this is driving me nuts. And total silence from NodeSource support. |
Its because amazon linux 2 is locked to glibc version 2.26, anything that doesn't match it will fail. |
please rename this issue to Does not work on Amazon Linux 2.... @JesusPaz is the above all correct? |
I should also clarify, my issue is with node gallium ( |
I've created an issue that's clearer about what's going on, this is not related to architectures |
I think I found the problem, it started happening with version 4.7.0 when a newer version of GLIB_C was used to compile the LTS versions. This was obviously a mistake as it leaves Amazon Linux 2 users stuck in the cold. Version 4.6.3 should work. |
I am also facing this issue now. when i have installed the node 18.14.2 on amazon linux2. |
Hi @Cheng19031 Node18 requires glibc2.28 AMZN LINUX comes with glibc2.26. |
Thank you for your reply. I have degraded to the lower version Node16, the problem solved temporarily. |
As of today there is Amazon Linux 2023 which has support for node18, node19, node20 |
Please fix this I can't install version 20 or 18. Have to revert to v16. |
Hello everyone,
I faced an issue when installing LTS version nodejs.
[ec2-user@phoenix ~]$ curl -fsSL https://rpm.nodesource.com/setup_lts.x | sudo bash -
## Installing the NodeSource Node.js 16.x repo...
Inspecting system...
Confirming "el7-x86_64" is supported...
Downloading release setup RPM...
Installing release setup RPM...
Cleaning up...
Checking for existing installations...
Run
sudo yum install -y nodejs
to install Node.js 16.x and npm.You may run dnf if yum is not available:
You may also need development tools to build native addons:
To install the Yarn package manager, run:
[ec2-user@phoenix ~]$ sudo yum install -y nodejs
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
amzn2-core | 3.7 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package nodejs.x86_64 2:18.2.0-1nodesource will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.28)(64bit) for package: 2:nodejs-18.2.0-1nodesource.x86_64
--> Processing Dependency: libm.so.6(GLIBC_2.27)(64bit) for package: 2:nodejs-18.2.0-1nodesource.x86_64
--> Finished Dependency Resolution
Error: Package: 2:nodejs-18.2.0-1nodesource.x86_64 (nodesource)
Requires: libm.so.6(GLIBC_2.27)(64bit)
Error: Package: 2:nodejs-18.2.0-1nodesource.x86_64 (nodesource)
Requires: libc.so.6(GLIBC_2.28)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
You can see even I used LTS v16 version to install. The yum will still try the v18, which made me confused.
Is there any easy way to switch to LTS version install?
Regards,
The text was updated successfully, but these errors were encountered: