Author Topic: node js 18 NOT FOUND. but already install it.  (Read 866 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
node js 18 NOT FOUND. but already install it.
« on: June 15, 2023, 02:13:33 AM »
ask for help from the wise.

I have installed node js 16, and node js18 from nodejs manager from centos wab panel 2031.

But why when I log in ssh . The node was not found.

can anyone help..


error like below

[root@vps ~]# node -v
node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by node)
node: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by node)
node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by nod                                          e)
node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by nod                                          e)
[root@vps ~]#

Offline
*
Re: node js 18 NOT FOUND. but already install it.
« Reply #1 on: September 15, 2023, 01:13:55 PM »
I am facing the same problem in Node JS 18 and 19

Offline
*
Re: node js 18 NOT FOUND. but already install it.
« Reply #2 on: October 22, 2023, 03:32:23 PM »
you need to copy the path and then need to execute the commands like:

/opt/nvm/versions/node/v14.21.3/bin/node -v
/opt/nvm/versions/node/v16.20.2/bin/node -v
/opt/nvm/versions/node/v17.9.1/bin/node -v

But facing the same issues in the latest versions v18, 19 and 20 of missing libraries or files