Description
Is there an existing issue for this?
- I have searched the existing issues
This issue exists in the latest npm version
- I am using the latest npm
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
- In this environment... Jenkins
- With this config... Using internal artifactory
- Run '...' npm install "--no-audit" "--no-optional" "--no-shrinkwrap" "--no-package-lock" "--loglevel" "verbose"
- See error... error added in current behaviour
Environment
- npm: 8.1.2
- Node.js: 16.13.1
- OS Name: Linux
- System Model Name: Jenkins Pipeline
Activity