geerlingguy / ansible-role-nodejs

Ansible Role - Node.js

Home Page:https://galaxy.ansible.com/geerlingguy/nodejs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation fails on CentOS 8

geerlingguy opened this issue · comments

See title.

Hmm... nodesource/distributions#845 (comment)

But I'm running into issues. Using that installer seems to give me Node v10.16.3, which I believe is not coming from Nodesource, but from the AppStream/core CentOS repos :/

As I mentioned in this comment, the only way currently to install from Nodesource on CentOS 8 involves a lot of esoteric commands:

curl -sL https://rpm.nodesource.com/setup_13.x | bash -
sudo yum install -y python2 yum-utils
sudo yumdownloader nodejs --disablerepo=AppStream
sudo rpm -ivh --nodeps nodejs-13.3.0-1nodesource.x86_64.rpm

For now, I'm going to park CentOS 8 installation and say 'don't use this role on CentOS 8 yet.'