yarnpkg/yarn

Can't install package from private GitHub repository with Yarn but can with NPM

Open

#4.360 aberto em 8 de set. de 2017

Ver no GitHub
 (37 comments) (52 reactions) (0 assignees)JavaScript (2.731 forks)batch import
cat-compatibilitygood first issuehelp wantedneeds-discussiontriaged

Métricas do repositório

Stars
 (41.514 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 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:

image

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

image

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

Guia do colaborador