Jenkins 报错npm ERR! fatal: HTTP request failed

无尘 2019-12-12 PM 669℃ 0条


+ npm i
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t
npm ERR! 
npm ERR! error:  while accessing
npm ERR! 
npm ERR! fatal: HTTP request failed
npm ERR! 
npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/app/.npm/_logs/2019-12-11T10_51_24_258Z-debug.log
Build step 'Execute shell' marked build as failure
Finished: FAILURE

需要升级一下 nss和curl服务
yum -y update nss

标签: none