我已经安装了 NodeJS 8.9.3,并且运行正常。但之后我开始了一个项目,需要 NodeJS 版本 > 10.0,所以我通过 NVM 将 NodeJS 8.9.3 更新为当前稳定版本。但更新后出现错误。
错误日志 >
node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by node)
node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by node)
node: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.5' not found (required by node)
node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.16' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by node)
我不知道该怎么办。我尝试解决这个问题已经 48 小时了,我做了很多研究,但没有找到任何解决方案。
这对我来说会有很大的帮助。