Nodejs Version 14

Home » CentOS » Nodejs Version 14
CentOS 1 Comment

Hi All,

I was following the instructions for installing nodejs version 14. https://github.com/nodesource/distributions

First thing was:
curl -sL https://rpm.nodesource.com/setup_14.x | bash –

After that :
yum -y install nodejs
—> Package nodejs.x86_64 2:12.16.2-1nodesource will be installed
–> Finished Dependency Resolution

You can see its installing the OLD Version 12. not the 14. ??? Why ?
(this errors actually)

My repo looks correct for Version 14 not 12.. more /etc/yum.repos.d/nodesource-el7.repo
[nodesource]
name=Node.js Packages for Enterprise Linux 7 – $basearch baseurl=https://rpm.nodesource.com/pub_14.x/el/7/$basearch failovermethod=priority enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL

[nodesource-source]
name=Node.js for Enterprise Linux 7 – $basearch – Source baseurl=https://rpm.nodesource.com/pub_14.x/el/7/SRPMS
failovermethod=priority enabled=0
gpgkey=file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL
gpgcheck=1

Thoughts ? did I do something wrong ?

Jerry

One thought on - Nodejs Version 14