Trying to install Node.js
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.
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.