npm ...
명령어를 사용하면 아래와 같은 오류 메세지가 발생했다.$ root@bmtown:~# npm install
node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)
The error is occurring because node 18.0.0 requires the installation of lib GLIBC_2.28, if the server has nvm installed it will always download the latest versions. In my case I was using amazon linux that was in version 2.26, I made the change to ubuntu 20.4 and it solved.
# nvm 설치는 생략했다.
$ nvm use 17
링크 에 따르면 ubuntu 20.04 이후부터 지원하는 것 같다.