-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Labels
Bugthing that needs fixingthing that needs fixingRelease 6.xwork is associated with a specific npm 6 releasework is associated with a specific npm 6 release
Description
What / Why
This is an attempt to resurrect this unresolved bug: npm/npm#14458
For some reason, the command npm config get prefix
is multi-seconds slow. This normally wouldn't bother me, but for users of nvm
like me, this is really impacting since it uses this command internally, and nvm is used in shell startup scripts. See nvm-sh/nvm#782 for more details. Therefore, shell startup is super slow, especially for those using WSL.
When
Always
Where
NPM CLI
How
Current Behavior
Run time npm config get prefix
, see multi-second response timing.
Steps to Reproduce
Run npm config get prefix
Expected Behavior
Result should come back quicker.
Who
?
References
ljharb, darcyclarke, brianredbeard, sqbell, Darkilen and 2 more
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingRelease 6.xwork is associated with a specific npm 6 releasework is associated with a specific npm 6 release