[BUG] npm ERR! code ECONNRESET in jenkins pipeline with Node 16.13.1 and NPM 8.1.2 #4221
Closed
2 tasks done
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 8.x
work is associated with a specific npm 8 release
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
We are facing below issue in our pipeline during npm install. But it works fine in our local machine.
00:45:05 npm timing reify:loadTrees Completed in 165792ms
00:45:05 npm timing reify:diffTrees Completed in 38ms
00:45:05 npm timing reify:retireShallow Completed in 1ms
00:45:06 npm timing reify:createSparse Completed in 428ms
00:45:06 npm timing reify:trashOmits Completed in 5ms
00:45:06 npm timing reify:loadBundles Completed in 0ms
00:45:53 npm verb stack Error: aborted
00:45:53 npm verb stack at connResetException (node:internal/errors:691:14)
00:45:53 npm verb stack at TLSSocket.socketCloseListener (node:_http_client:407:19)
00:45:53 npm verb stack at TLSSocket.emit (node:events:402:35)
00:45:53 npm verb stack at node:net:687:12
00:45:53 npm verb stack at Socket.done (node:_tls_wrap:580:7)
00:45:53 npm verb stack at Object.onceWrapper (node:events:510:26)
00:45:53 npm verb stack at Socket.emit (node:events:402:35)
00:45:53 npm verb stack at TCP. (node:net:687:12)
00:45:53 npm verb cwd /bld/workspace/er-pipeline_feature_node-upgrade
00:45:53 npm verb Linux 5.4.0-91-generic
00:45:53 npm verb argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--no-audit" "--no-optional" "--no-shrinkwrap" "--no-package-lock" "--loglevel" "verbose"
00:45:53 npm verb node v16.13.1
00:45:53 npm verb npm v8.1.2
00:45:53 npm ERR! code ECONNRESET
00:45:53 npm ERR! network aborted
00:45:53 npm ERR! network This is a problem related to network connectivity.
00:45:53 npm ERR! network In most cases you are behind a proxy or have bad network settings.
00:45:53 npm ERR! network
00:45:53 npm ERR! network If you are behind a proxy, please make sure that the
00:45:53 npm ERR! network 'proxy' config is set properly. See: 'npm help config'
00:45:53 npm verb exit 1
00:45:53 npm timing npm Completed in 206825ms
Expected Behavior
Smooth npm install is expected.
Steps To Reproduce
Environment
The text was updated successfully, but these errors were encountered: