Try installing the active LTS version instead of latest with nvm install 16 (instead of nvm install node) as per the examples.
This was tested on the docker image amazonlinux:2 and correlates to what AWS CDK supports (ref)
Update
LTS has moved on for node, however, as per @djvg's comment, note there is a limitation with amazon linux 2 on glibc, so if requiring node > 16 will need to move to newer amazon linux version, eg: https://github.com/amazonlinux/amazon-linux-2023/blob/main/Release-Notes-Amazon-Linux-2022.0.20220728.0.md
Answer from Efren on Stack OverflowTry installing the active LTS version instead of latest with nvm install 16 (instead of nvm install node) as per the examples.
This was tested on the docker image amazonlinux:2 and correlates to what AWS CDK supports (ref)
Update
LTS has moved on for node, however, as per @djvg's comment, note there is a limitation with amazon linux 2 on glibc, so if requiring node > 16 will need to move to newer amazon linux version, eg: https://github.com/amazonlinux/amazon-linux-2023/blob/main/Release-Notes-Amazon-Linux-2022.0.20220728.0.md
It seems like you are using v.18.0.0 which was the latest but not well-supported.
Try uninstalling that.
nvm uninstall 18.0.0
Install a version that is active.
nvm install 16.0.0
You should now be using v16 which should be well-supported.
GLIBC_2.27 Not found
Sagemaker: OSError: /lib64/libm.so.6: version `GLIBC_2.27' not found
Node: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by node)
Version `GLIBC_2.27' not found
I want to install 4kvideodownloader application on my pc. I am using ubuntu 16.04 version.I can see the application symbol but it isn't opening. When i check that application it is showing to me `GLIBC_2.27' not found error:
/usr/lib/4kvideodownloader/4kvideodownloader-bin: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /usr/lib/4kvideodownloader/libQt5WebEngineCore.so.5)/usr/lib/4kvideodownloader/4kvideodownloader-bin: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /usr/lib/4kvideodownloader/libQt5WebEngineCore.so.5)......
Can anyone helps to me?