August 28, 2017

nodejs cannot update/install on centos 7 due to missing http_parser

Posted on August 28, 2017  •  1 minutes  • 101 words  •  Suggest Changes

While installing node.js :

Error: Package: 1:nodejs-6.11.1-1.el7.x86_64 (epel)
Error: Package: 1:nodejs-6.11.1-1.el7.x86_64 (epel)
           Requires: http-parser >= 2.7.0

You can solve this by installing http_parser manually :

yum install

The reason behind the issue, is in that RHEL 7.4 now includes this package in the default repo, and for that reason its now removed from epel repository. The result is that there is no fight for RHEL users what version is best, but the disadvantage is that Centos users who are stuck for now on Centos 7.3, are missing a dependency for node.js until Centos 7.4 is out that is.


If you enjoyed this website, consider buying me a Dr. Pepper

Buy me a Dr PepperBuy me a Dr Pepper