-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next stepsRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release
Description
Current Behavior:
On linux even a simple $ npm
hangs for ~ 70 sec with no sign where it is hanging:
$ npm --verbose
npm verb cli [
npm verb cli '/home/mvalle/node-v15.7.0-linux-x64/bin/node',
npm verb cli '/home/mvalle/bin/npm',
npm verb cli '--verbose'
npm verb cli ]
npm info using [email protected]
npm info using [email protected]
npm timing config:load:defaults Completed in 2ms
npm timing config:load:file:/home/mvalle/node-v15.7.0-linux-x64/lib/node_modules/npm/npmrc Completed in 1ms
npm timing config:load:builtin Completed in 1ms
npm timing config:load:cli Completed in 2ms
npm timing config:load:env Completed in 0ms
npm timing config:load:project Completed in 1ms
npm timing config:load:file:/home/mvalle/.npmrc Completed in 0ms
npm timing config:load:user Completed in 0ms
npm timing config:load:file:/home/mvalle/node-v15.7.0-linux-x64/etc/npmrc Completed in 1ms
npm timing config:load:global Completed in 1ms
npm timing config:load:cafile Completed in 0ms
npm timing config:load:validate Completed in 0ms
npm timing config:load:setUserAgent Completed in 0ms
npm timing config:load:setEnvs Completed in 1ms
npm timing config:load Completed in 8ms
npm verb npm-session 633bd37ff6877cf5
npm timing npm:load Completed in 19ms <<<--- here it hangs
Usage: npm <command>
...
I aborted a npm i
with no node_modules
and no .npmrc
after 10 minutes showing:
idealTree:AMDIdeaIgniterEnvironment: sill idealTree buildDeps
Expected Behavior:
That it works, as was doing with node 14 and node 15.5.1. Or at least offer some more precise debug message. Could be that something has changed in the network configuration, but have no way to see what or where is hanging.
Steps To Reproduce:
- from the prompt run npm
- wait
Environment:
- OS: Ubuntu 20.04.2 LTS
- Node: 15.7.0
- npm: 7.4.3
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next stepsRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release