pnpm: 'pnpm install' Too slow
Verify latest release
- I verified that the issue exists in the latest pnpm release
pnpm version
8.7.6
Which area(s) of pnpm are affected? (leave empty if unsure)
Dependencies resolver, CLI, Lockfile
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
- Create a react app using pnpm
- Run
pnpm install - Delete
node_modulesfolder - Run
pnpm installagain
Describe the Bug
After removing the ‘node modules’ directory, running ‘pnpm install’ again is very slow
Expected Behavior
Running ‘pnpm install’ again should be done very quickly
Which Node.js version are you using?
v16.20.2
Which operating systems have you used?
- macOS
- Windows
- Linux
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 16
- Comments: 17 (1 by maintainers)
It’s also slow on linux. I am on debian Debian GNU/Linux 12 (bookworm) and it used to be very fast earlier now its painfully slow. Takes like 4m 29.1s and it’s not even downloading stuff. But even if it was I have a fast consistent network speed of 200mbps so that is definitely not an issue.
Also listing my hardware incase: Intel® Core™ i5-10400 16.0 GiB
Edit: Just tried installing a single package even that took 2m 23s lol
I’m using pnpm 9.1.0 on a NVMe drive and still having the same problem. I’m running Fedora 40.
this also happens for me in 8.10.5
let me know if any more information is needed