Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
-
- [BUG] Npm install ETIMEDOUT #4085 (probably the same)
This issue exists in the latest npm version
- I am using the latest npm
Current Behavior
I'm trying to install natural
package, but npm freezes in sill idealTree buildDeps
(Not the same behavior as #3257, so I suppose it's another bug). After some minutes it returns ETIMEDOUT
.
Expected Behavior
npm should install the package (it's also unable to update npm itself).
Steps To Reproduce
- Start a empty project
- Run
npm i [any package]
- See error similar to this:
npm ERR! code ETIMEDOUT
npm ERR! syscall connect
npm ERR! errno ETIMEDOUT
npm ERR! network request to https://registry.npmjs.org/natural failed, reason: connect ETIMEDOUT 2606:4700::6810:1223:443
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! A complete log of this run can be found in:
npm ERR! /home/eduardo/.npm/_logs/2021-12-11T07_56_48_769Z-debug.log
Environment
- npm:
7.19.1
(OK),8.0.0
(Not OK),8.1.4
(Not OK),8.3.0
(Not OK) - Node:
17.0.1
,17.2.0
(npm8.1.4
) - OS: Ubuntu 21.10
- platform: Intel X64 Notebook
- npm config:
; "user" config from /home/eduardo/.npmrc
@EduApps-CDG:registry = "https://npm.pkg.github.com/"
; npm.pkg.github.com/:_authToken = (protected)
; registry.npmjs.org/:_authToken = (protected)
registry = "https://registry.npmjs.org/"
; node bin location = /home/eduardo/.nvm/versions/node/v17.0.1/bin/node
; cwd = /home/eduardo/proj/DescicloBot/ai
; HOME = /home/eduardo
; Run `npm config ls -l` to show all defaults.