-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yarn 0.23.2 unable to install from git+ssh repo #3203
Comments
Same on CentOS 7. |
I thing that PR is causing problem: #2990 |
Ran into this as well. Had to change to just using "ssh://" which seems to work for yarn, but not for npm which does want the "git+ssh://". |
I'm having this issue also, but changing to |
@andrewhavens really? huh. We're using a private hosted stash repo for some packages. And with doing a |
I can confirm that this is also broken for us. Upgrading to the latest Yarn version (0.23.3) has broken our CI builds. |
Using |
Ran into this with v0.22 on CI after upgrading git+ssh:// linked package version. v0.23.3 fixed the issue. |
Same as others have mentioned, upgraded to v0.23.3 caused the issue and removing 'git+' fixed it as @webark mentioned. |
After spending several hours today trying to figure out what was going wrong, it turns out an old Pageant (one of the PuTTY apps) config had manipulated my GIT_SSH environment variable so it was ignoring my Removing that environment variable has resolved the issue for me with using a private GitHub repository and using a URL in the format |
yarn 0.23.4 does not work for us, package specified with
|
Same problems here. I installed the current release candidate (0.24.2) via Going back to current "stable" via |
Yup!... |
Hello,
But when I remove the :{port} it doen't show any error. But it try with port 22 which, of course, termines with a timeout because it's not the port I need. |
We just landed this PR #3735 (will be in 0.28). |
I've just built from master and it's fixed the problem for me. Thanks! |
@bestander I use Yarn The problem also exists for the My url in package.json: {
"dependencies": {
"@vendor/package": "git+ssh://git@github.com/<username>/<repository>.git#master"
}
} |
@francoispluchino I'd check if your SSH keys being made available to SSH agent at the time of You may also check your proxy and try using |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
When trying to add a dependency with the git+ssh specification, yarn is unable to read from the remote repository. The repository is an internal Bitbucket server, where the read-access is controlled via ssh keys. The previous yarn-version I used (0.21.3) could install the package. The only difference between the two examples below is the version of yarn. Everything else (ssh keys, node version, etc) is the same.
What is the expected behavior?
The package should be installed from the git+ssh specification. Here's a working example using yarn 0.21.3.
Please mention your node.js, yarn and operating system version.
node.js: 7.9.0
yarn: 0.23.2 (and 0.21.3)
os: macOS Sierra 0.12.4
The text was updated successfully, but these errors were encountered: