Trying to install Node.js

Avatar
  • updated
  • Answered

Using this article, both methods of trying to install Node.js do not seem to work, so am wondering if this article is outdated.

https://www.inmotionhosting.com/support/website/ssh/install-nodejs/#comment-59359

[[email protected] ~]$ nvm use node
Warning: cannot open configuration file /etc/man.config
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 a(required by node)
nvm is not compatible with the npm config "prefix" option: currently set to ""
Run `nvm use --delete-prefix v14.2.0` to unset it.

Running 'nvm use --delete-prefix v14.2.0' does not do anything.

Trying Option 2 - rvm I get the following:

[[email protected] ~]$ curl -sL https://rpm.nodesource.com/setup_11.x | bash ▒▒
bash: –: No such file or directorytps://rpm.nodesource.com/setup_11.x | bash –

Please advise. Thank you.

Pinned replies
Avatar
anonymous
  • Answer
  • Answered

Hi DVB! Unfortunately, this article is meant for VPS and Dedicated Hosting accounts. I have edited the information you pasted for your privacy, but according to the information you posted, you are attempting to install Node on a standard account on one of our Shared Hosting plans. 

If you do upgrade to a VPS or Dedicated hosting plan, please keep in mind that you will need to use root access to install node. 

Avatar
anonymous
  • Answer
  • Answered

Hi DVB! Unfortunately, this article is meant for VPS and Dedicated Hosting accounts. I have edited the information you pasted for your privacy, but according to the information you posted, you are attempting to install Node on a standard account on one of our Shared Hosting plans. 

If you do upgrade to a VPS or Dedicated hosting plan, please keep in mind that you will need to use root access to install node.