yarnpkg/yarn
View on GitHubCan't install package from private GitHub repository with Yarn but can with NPM
Open
#4,360 opened on Sep 8, 2017
cat-compatibilitygood first issuehelp wantedneeds-discussiontriaged
Repository metrics
- Stars
- (41,514 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Running yarn add git+ssh://git@github.com:adamwathan/my-package results in a "Permission denied (publickey)" error:

I can git clone this repo without any trouble, and adding via NPM works fine:

What is the expected behavior?
The package is installed without permission issues.
Please mention your node.js, yarn and operating system version.
Node 8.4.0 Yarn 1.0.1 macOS Sierra 10.12.4