[Bug] Github tarball dependency specification isn't supported by any available resolver
See original GitHub issue- I’d be willing to implement a fix
Description: yarn@2.0.0-rc.28 errors with
➤ YN0001: │ Error: ember-cli-deploy-s3@https://github.com/ember-cli-deploy/ember-cli-deploy-s3/tarball/v1.3.0 isn't supported by any available resolver
when attempting to yarn install
in a project which has https://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:
{
"dependencies": {
"ember-cli-deploy-s3": "https://github.com/ember-cli-deploy/ember-cli-deploy-s3/tarball/v1.3.0"
}
}
Sherlock reproduction:
await expect(packageJsonAndInstall({
dependencies: {
[`ember-cli-deploy-s3`]: `https://github.com/ember-cli-deploy/ember-cli-deploy-s3/tarball/v1.3.0`,
},
})).rejects.not.toThrow()
Screenshot:
Environment:
- OS: [macOS v10.15.3 (19D76)]
- Node version [v10.15.0]
- Yarn version [2.0.0-rc.28]
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (3 by maintainers)
Top Results From Across the Web
[Bug] Cannot install package from github branch · Issue #835
Describe the bug Cannot install package from github branch $ yarn add ... /tarball/EXIT_ON_PARSE isn't supported by any available resolver.
Read more >New resolver downloads hundreds of different package ...
1 and suddenly in a big project with a very long dependency list (over 60 packages), pip does not manage anymore to install...
Read more >yarn install fails if package.json contains local tarball ... - GitHub
$ yarn yarn install v0.20.3 info No lockfile found. [1/4] Resolving packages... error An unexpected error occurred: "https:/registry.yarnpkg.com ...
Read more >New resolver: Build automated testing to check for acceptable ...
The new resolver is generally slower because it checks the dependency between packages more rigorously, and tries to find alternative solutions ...
Read more >Extracting the tar content of undefined failed #6312 - GitHub
The occurrence of this error is the challenging part. It does not always fail and does not always fail with the same dependency....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@gund You can use one of the many supported formats. The closer to the one you are trying to use would be:
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 https://github.com/yarnpkg/berry/pull/1220
@redblue9771, @armarti, @gund Your problems aren’t related to this issue (Which is specifically about the GitHub
/tarball/
URLs) and each one of them is different. Please open a new issue for each one of your problems.