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
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.
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.16.1, node v6.6.0
Additional Note
The Git URL is an internal, so I had to shrink them down. Internally we use gitlab on a special port, which is not present in the git url (so it's something like git+ssh://internal.gitlab.com:group/project.git. Gitlab itself runs on a special port, but neither git, nor npm have any problems with that. The main difference is the protocol used for git clone (git and npm using git+ssh, yarn using ssh).
If you got any futher questions, please ask, I try to reproduce it on a different system is necessary. I didn't find a bug mentioning THIS problem, so I opened this issue, if there is any, sorry for the extra 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.16.1, node v6.6.0
Additional Note
The Git URL is an internal, so I had to shrink them down. Internally we use gitlab on a special port, which is not present in the git url (so it's something like git+ssh://internal.gitlab.com:group/project.git. Gitlab itself runs on a special port, but neither git, nor npm have any problems with that. The main difference is the protocol used for git clone (git and npm using git+ssh, yarn using ssh).
If you got any futher questions, please ask, I try to reproduce it on a different system is necessary. I didn't find a bug mentioning THIS problem, so I opened this issue, if there is any, sorry for the extra work,
Cheers
The text was updated successfully, but these errors were encountered: