Skip to content

[BUG] Fix IPv6 records for npm #4163

Closed
Closed
@EduApps-CDG

Description

@EduApps-CDG

Is there an existing issue for this?

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.

image

Expected Behavior

npm should install the package (it's also unable to update npm itself).

Steps To Reproduce

  1. Start a empty project
  2. Run npm i [any package]
  3. 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 (npm 8.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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingNeeds Triageneeds review for next stepsRelease 8.xwork is associated with a specific npm 8 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions