Having trouble cloning private repos with yarn

Description of the issue

Downloading private repos with yarn always fails with bitrise being unable to clone from a private repository.

The result is always this error:
fatal: could not read Password for 'https://git@github.com': terminal prompts disabled

The line about passwords make me think this isn’t trying to use the SSH key I have set up on bitrise.

I’ve reviewed similar issues related to git clone and have set up a custom SSH key, a bot user on my team that has access to all repos, and added the SSH key to their account. Do you know how I can force yarn to try using the SSH key first? What path is the key located during bitrise build?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.