- Newest
- Most votes
- Most comments
Hi,
yes, I have read the mentioned article, I also read https://github.com/nodesource/distributions, and I understand that there seems to be some dependency issue between the glibc version used in amazon linux 2 and nodejs 18.
However, such a beast exists, and is provided by amazon themselves: the nodejs 18 aws lambda runtime -- which exactly includes nodejs 18 in an amazonlinux2 image. That obviously means that there must be a way to run both of them together. Maybe AWS could share their knowledge about how to build that ...
Thanks
On October 18th, 2023, the Amazon Cloud9 team added NodeJS 18 LTS to all new instances of Cloud9 based on Amazon Linux 2.
If you are looking to run Node.js in a non-supported Linux version take a look to Node.js Unofficial Builds
Node.js 18 is not supported on Amazon Linux2 as described in the following document
Please install Node.js 16 instead
https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/setting-up-node-on-ec2-instance.html
Relevant content
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated a year ago
but if want to install node js 18 can i just update the GCC version ?
I can't update to glibc 2.27...
Amazon Linux 2023 can use up to glibc 2.34, so please consider that.
https://docs.aws.amazon.com/ja_jp/linux/al2023/ug/core-glibc.html
The document you refer to mentions that it allows nvm to install multiple versions of Node, and switch between them. However, it doesn't describe how to switch between the running version. Any idea how to do that?
Thanks.