You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yarn is not capable of installing git dependencies
If the current behavior is a bug, please provide the steps to reproduce.
Add a git dependency to package.json (looking like "myMod": "git+ssh://git@github.....git" (important is git+ssh)
type yarn to install all packages
See yarn erroring, because it's trying git clone ssh://git@....git, without git+
What is the expected behavior?
To install the dependency with the correct protocol (git+ssh), just like NPM or git itself
Please mention your node.js, yarn and operating system version.
Windows 7, yarn v0.17.0, node v6.9.1, git version 2.9.0.windows.1
Additional Note
Even though I opend this ticket, which was closed due to this pull request, which should fix the problem, but it's still there. Installing git dependencies with yarn still doesn't work. Because the problem persists I "reopened" the issue.
Console output (slightly modified, because of sensitive information):
>yarn
yarn install v0.17.0
info No lockfile found.
warning myproject@0.0.0: No license field
[1/4] Resolving packages...
error Command failed.
Exit code: 128
Command: git
Arguments: clone ssh://git@internalgit.com/somedependency.git ...\AppData\Local\Yarn\cache\.tmp\8fd00943084f8824e195e7cd50c344a6
Directory: ...\projects\myproject
Output:
Cloning into '...\AppData\Local\Yarn\cache\.tmp\8fd00943084f8824e195e7cd50c344a6'...
ssh: Could not resolve hostname internalgit.com: Name or service not known
fatal: Could not read from remote
But the package.json contains "somedependency": "git+ssh://git@internalgit.com/somedependency.git". NPM itself does everything right, the git+ stays, but without the git+ it doesn't work.
Cheers
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Yarn is not capable of installing git dependencies
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
To install the dependency with the correct protocol (git+ssh), just like NPM or git itself
Please mention your node.js, yarn and operating system version.
Windows 7, yarn v0.17.0, node v6.9.1, git version 2.9.0.windows.1
Additional Note
Even though I opend this ticket, which was closed due to this pull request, which should fix the problem, but it's still there. Installing git dependencies with yarn still doesn't work. Because the problem persists I "reopened" the issue.
Console output (slightly modified, because of sensitive information):
But the package.json contains
"somedependency": "git+ssh://git@internalgit.com/somedependency.git"
. NPM itself does everything right, the git+ stays, but without the git+ it doesn't work.Cheers
The text was updated successfully, but these errors were encountered: