pnpm: DOESN'T WORK AT ALL!!! š©š«
pnpm version: 8.5.1
Code to reproduce the issue:
pnpm create svelte
pnpm up --latest
Expected behavior: NOT TO BE SLOW
Actual behavior: SLOW
Additional information:
node -v
prints: v20.1.0- Windows, macOS, or Linux?: Windows
https://github.com/pnpm/pnpm/assets/44144724/1cd333cf-694d-4224-b887-5c43cea1592a
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 27 (8 by maintainers)
This issue doesnāt seem related to pnpm. I donāt know any reason why pnpm in the past wouldāve been faster on slow connections. I donāt think we have changed anything in this regard.
The easiest way to reduce the amount of network requests is setting
prefer-offline
totrue
. This will drastically reduce the amount of requests.You can also reduce the amount of simultaneous requests by setting
network-requests
to something smaller than 16.I havenāt used npm for years now, I donāt know what to expect.
The time spent in āresolveā stage mostly depends on network quality, and the download is parallel, itās no reason that slow.
Could you try your commands using NPM and see if itās faster?