-
-
Notifications
You must be signed in to change notification settings - Fork 931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pnpm install stuck for ~2 minutes #4739
Comments
There is a bizarre issue with installing github dependencies right now: npm/cli#4896 This seems to be affecting both pnpm and npm (version 6). Did the delays start on May 13 and are they for repos with github dependencies? |
The first time I experienced this slow down was few days ago, might be May 13th as well. I don't have any github depencency in my |
Same here.
Does this only affect version 6? |
@vrde Try: |
|
@vrde So, yes, same bug. Is for |
Interesting observation: this doesn't seem to affect Yarn at all, and replacing I'm also getting this issue on PNPM 7. |
It is attempting to use git protocol, even when explicitly set to ssh. e.g. in package.json:
But running
And git protocol is no longer supported by GitHub: https://github.blog/2021-09-01-improving-git-protocol-security-github/ This is with latest pnpm (7.1.0) |
Encountering this as well with these packages: packages/app | WARN deprecated safe-event-emitter@1.0.1
docs | WARN deprecated node-pre-gyp@0.13.0
packages/app | WARN deprecated safe-event-emitter@1.0.1
packages/app | WARN deprecated eth-sig-util@1.4.2
packages/app | WARN deprecated @walletconnect/mobile-registry@1.4.0
packages/app | WARN deprecated safe-event-emitter@1.0.1 |
For me this happens when installing packages from github |
node: v11.13.0 Our Solved by replacing github protocol with https
|
Found a solution:
Found here npm/cli#4896 (comment) |
I guess related fix: #4734 |
@zkochan would you mind releasing a patch version please, when time permits? |
Try v7.1.1 |
Back to being blazing fast again! Thanks @zkochan 🙏
|
Works like a charm, thanks @zkochan! |
Version 7.11.0 also fixed this issue for me 😄 |
To avoid starting a new thread, my {"time":1673900426574,"hostname":"_.charter.com","pid":17212,"level":"debug","name":"pnpm:progress","method":"hardlink","requester":"/...","status":"imported","to":"/.../node_modules/rxjs/node_modules/tslib"} Using pnpm v7.25.0 It just all of a sudden started hanging. EDIT |
It is this issue: #5909 |
When I run
pnpm install
it gets stuck. I didn't understand if there is a pattern or not, sometimes it gets stuck, sometimes it doesn't.pnpm version:
7.1.0
Code to reproduce the issue:
When I run
pnpm i
it starts do its job, then it gets stuck for ~2 min, then I get aERR_PNPM_PEER_DEP_ISSUES Unmet peer dependencies
.The full message is:
This is
node_modules/.pnpm-debug.log
:Expected behavior:
I expect PNPM to not get stuck when installing packages.
Actual behavior:
PNPM stays ~2 min stuck when installing packages.
Additional information:
node -v
prints: v16.15.0The text was updated successfully, but these errors were encountered: