Anssi Johansson kirjoitti 23.8.2017 klo 13.31:
Richard Grainger kirjoitti 23.8.2017 klo 11.55:
yum install nodejs
Try with this:
yum install nodejs --enablerepo=epel-testing
This will install nodejs with http-parser bundled in. http-parser was removed from EPEL because it is now in RHEL 7.4, and EPEL does not ship packages that are also in RHEL. http-parser will be in CentOS 7.4 once it is released.
I forgot to mention that this is only a temporary workaround. Once CentOS 7.4 is released, nodejs will revert back to depending on http-parser from RHEL/CentOS.