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)

Most upvoted comments

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 to true. 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.

Could you try your commands using NPM and see if it’s faster?

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?