-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Bug] Github tarball dependency specification isn't supported by any available resolver #885
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This issue reproduces on master:
|
|
Same with
Same result when setting yarn version from sources at a85b342 and when setting yarn version normally to 2.0.0-rc.29. |
❱ yarn install |
I'm having same issue:
Having dependency like so: "dependencies": {
"jquery-extendext": "git+https://[email protected]/mistic100/jQuery.extendext#0.1.1"
} Unfortunately, this issue renders Yarn berry pretty useless at this point.... |
@gund You can use one of the many supported formats. The closer to the one you are trying to use would be: "dependencies": {
"jquery-extendext": "git+ssh://[email protected]/mistic100/jQuery.extendext#0.1.1"
} You can find other valid formats here. A few of them might not work because the github username has a number, a PR to fix that is already open tho #1220 |
@deini thanks for your response! I've tried as you suggested but then got another error:
Do you know what is it about and how to fix it? |
@gund np! It's working for me 🤔, maybe you don't have your github setup with ssh keys. You can also try: "dependencies": {
"jquery-extendext": "https://github.com/mistic100/jQuery.extendext#0.1.1"
} |
@deini yeah I actually tried with However I've got later another error after all packages got downloaded: It seems a bit off-topic but I was able to fix it by adding to my "resolutions": {
"typescript": "3.7.5"
} Now Yarn v2 finally installed dependencies! Yay! |
@redblue9771, @armarti, @gund Your problems aren't related to this issue (Which is specifically about the GitHub |
* feat(plugin-git): add support for github tarball urls Fixes #885. * chore(release-workflow): set releases * test(plugin-git): add tarball pattern and update snapshots
Description:
[email protected] errors with
when attempting to
yarn install
in a project which hashttps://github.com/ember-cli-deploy/ember-cli-deploy-s3/tarball/v1.3.0
as a dependency.Perhaps the github pattern regex isn't catching this declaration correctly?
To Reproduce:
Sherlock reproduction:
Screenshot:
Environment:
The text was updated successfully, but these errors were encountered: