Closed Paper-Folding closed 1 month ago
I just encountered the same issue, but with a private GitLab instance:
I have a git+ssh://git@<server>/<repo>#v2.1.0
dependency and bun install
shows a Password for https://git@<server>
prompt – for a split-second, before it gets overwritten by other console status updates.
That the prompt gets deleted makes the issue more difficult to diagnose because then the process just hangs and you don’t know why. You can only detect it due to the still-visible trailing key symbol on the macOS terminal:
The password prompt hints at the underlying issue: the dependency is configured as git+ssh
, but bun nonetheless tries to access it via https
!
I just encountered the same issue, but with a private GitLab instance: I have a
git+ssh://git@<server>/<repo>#v2.1.0
dependency andbun install
shows aPassword for https://git@<server>
prompt – for a split-second, before it gets overwritten by other console status updates.That the prompt gets deleted makes the issue more difficult to diagnose because then the process just hangs and you don’t know why. You can only detect it due to the still-visible trailing key symbol on the macOS terminal:
The password prompt hints at the underlying issue: the dependency is configured as
git+ssh
, but bun nonetheless tries to access it viahttps
!
The problem is, I have already set up git properly after that the bun still asks me for credentials.
Never mind. The issue I mentioned is actually fixed with the latest bun version. (I was running a slightly outdated version.)
What version of Bun is running?
1.1.17
What platform is your computer?
Windows
What steps can reproduce the bug?
bun install
The problem is, the dialog in step 5 and 6 should not appear. When I'm using yarn before, this issue does not exists.
What is the expected behavior?
The dialog in step 5 and 6 above should not appear, Bun should check for SSH key first before asking for github credential.
What do you see instead?
No response
Additional information
No response