"Failed to install Node.js - Exit" on CentOS 7.9

Hi All,

Till last week, I had no issue installing Node-RED v2.1.3 on CentOS 7.9

However, since today, I am getting the below issue:

Dependencies Resolved

================================================================================
 Package      Arch         Version                       Repository        Size
================================================================================
Installing:
 nodejs       x86_64       2:14.18.1-1nodesource         nodesource        32 M

Transaction Summary
================================================================================
Install  1 Package

Total download size: 32 M
Installed size: 92 M
Downloading packages:
**https://rpm.nodesource.com/pub_14.x/el/7/x86_64/nodejs-14.18.1-1nodesource.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=nodeso$**
Trying other mirror.


Error downloading packages:
  **2:nodejs-14.18.1-1nodesource.x86_64: [Errno 256] No more mirrors to try.**

Does it mean Node14 is not supported on Centos 7.9 anymore ?

I unfortunately cannot use CentOS 8 because of some specific requirements. Do you have any idea to make this work?

Can you try a manual install of node12 ?

Actually same issue when trying to install Nodejs12 manually...

Can something be wrong on their side?

Ah apparently I'm not the only one:

Workaround is as follows :

yum remove -y nodejs npm nodesource-release
wget https://rpm.nodesource.com/pub_14.x/el/7/x86_64/nodejs-14.18.1-1nodesource.x86_64.rpm
yum clean all
yum install -y nodejs-14.18.1-1nodesource.x86_64.rpm
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.