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

[---@ecbiz--- ~]$ 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:

[---@ecbiz--- ~]$ 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
Carrie Smaha Senior Manager Marketing Operations
  • Answer

InMotion Hosting has recently rolled out "Hosting Plus" on our Business Class and WordPress Shared Hosting plans. Hosting Plus includes support for Python, Node.JS, Ruby and GIT version control right out of the box.

Our VPS and Dedicated Servers also continue to support Node.js.

Avatar
Carrie Smaha Senior Manager Marketing Operations
  • Answer

InMotion Hosting has recently rolled out "Hosting Plus" on our Business Class and WordPress Shared Hosting plans. Hosting Plus includes support for Python, Node.JS, Ruby and GIT version control right out of the box.

Our VPS and Dedicated Servers also continue to support Node.js.

Avatar
anonymous
  • 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.