yarnpkg/yarn

Yarn install in v1.6.0 with dependency from private repo starting with `ssh+git` fails "Invalid protocol: ssh+git:".

オープン

#5,766 opened on 2018/05/01

 (4 件のコメント) (0 件のリアクション) (1 人の担当者)JavaScript (2,731 件のフォーク)batch import
cat-buggood first issuehelp wanted

Repository metrics

Stars
 (41,514 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Doing yarn install in v1.6.0 with a dependency from private repository, pointing to a url that starts with ssh+git fails.

[2/4] Fetching packages...
error An unexpected error occurred: "Invalid protocol: ssh+git:".

Changing it to git+ssh seems to fix the issue.

Yarn: v1.6.0 Node: v8.9.1 OS: Ubuntu

コントリビューターガイド