You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using npm 11.0.0 and it works fine for me (output: html-css@0.2.0 D:\Websites\HTML-CSS-OLD -- http-server@14.1.1). The results come in in about 3 secs.
~>time npm ls
/data/data/com.termux/files/home
└── (empty)
real 0m4.970s
user 0m4.736s
sys 0m0.975s
~>time npm ls -g
/data/data/com.termux/files/usr/lib
├── bash-language-server@5.4.2
├── corepack@0.30.0
├── npm@11.0.0
├── typescript-language-server@4.3.3
└── typescript@5.7.2
real 0m6.980s
user 0m7.297s
sys 0m1.265s
~>time node --eval ''# for reference
real 0m0.730s
user 0m0.594s
sys 0m0.124s
Rudxain
changed the title
[BUG] npm list is still slow
[BUG] npm ls is still slow
Dec 29, 2024
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
npm/npm#6507
It's slow, both with and without
-g
flag. Even on directories that contain nopackage.json
Expected Behavior
It should be sub ~500ms
Steps To Reproduce
time npm list
(-g
optional)Environment
The text was updated successfully, but these errors were encountered: