Installing the NodeSource Node.js 12.x repo...
Inspecting system...
- rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release
- uname -m
Confirming "fc31-x86_64" is supported...
- curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub_12.x/fc/31/x86_64/nodesource-release-fc31-1.noarch.rpm'
Your distribution, identified as "fedora-release-common-31-1.noarch", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support
I tried version 13. Same result.
Did you tried the installation with DNF? (There should be a NodeJS 12 repo by default):
$ sudo dnf install nodejs
BTW, I tried with version 13 too on my Fedora 31, getting the same result.
Did you tried the installation with DNF? (There should be a NodeJS 12 repo by default):
$ sudo dnf install nodejsBTW, I tried with version 13 too on my Fedora 31, getting the same result.
Please, don't do that. Instead do:
$ sudo dnf module install nodejs:12
We now have package streams as a feature in both RHEL and Fedora. This is especially important when dealing with programs such as Node.js and such. See:
https://docs.fedoraproject.org/en-US/modularity/using-modules/
https://developers.redhat.com/blog/2018/11/15/rhel8-introducing-appstreams/
Edit: I'm presuming that having Fedora packaged Node.js is enough as it should be and you don't need NodeSource version specifically. Especially if it isn't available yet for Fedora 31. As of writing this Fedora Project in nodejs:12 stream is shipping v12.13.0 release. 13 is still upcoming but should hit the streams sooner or later.
Same answer for nodejs 1.10.x for FC31 : "please install native package via dnf" ?
If people wanted the Fedora-provided Node.js package, they wouldn't be asking how to install the NodeSource-provided Node.js package.
NodeSource needs to build the packages for Fedora 31 and make them available.
@ukulanne support added for Fedora 31: https://github.com/nodesource/distributions#enterprise-linux-based-distributions
Thanks for your patient!
Closing this now
Most helpful comment
@ukulanne support added for Fedora 31: https://github.com/nodesource/distributions#enterprise-linux-based-distributions
Thanks for your patient!
Closing this now