Jenkins - NPM update failed
As you mentioned, you use private repo, but the error said you get dependency from public repo: https://registry.npmjs.org, and I guess your network need proxy to access public network and you not set proxy for npm.
Option 1) specify npm registry in npm command line: npm install --registry=your prive repo url
Option 2) use project level .npmrc file
1) create .npmrc
file under your nodejs project folder (where the package.json is)
2) add below content in .npmrc
file
registry = your private repo urlstrict-ssl=false// if need proxy to access private repo, comment out below two lines// http-proxy = proxy address// https-proxy= proxy address