-
Bug
-
Resolution: Done
-
Major
-
None
-
3.13.0.GA
-
None
-
False
-
None
-
False
-
-
Recent DSC builds have all failed in jenkins due to a npm ERR! code EHOSTUNREACH error. The last successful build was on April 12th.
Success: https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/DS_CI/job/dsc_3.13/10/
Most recent failure: https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/DS_CI/job/dsc_3.13/16/
The failing command is
npx -q sort-package-json
I'm unsure what changed, but after testing on a dynamic node it seems that the issue is with the node version set during the builds.
Currently it uses 18.16.1. In order to get npx to work I had to use node 20+.
So, the way I see it, options are:
- Update DSC to build with node 20.12.2
- Find a workaround to make node 18 work
- Stop sorting the package.json
I don't know which of these is best.