-
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 cache bug w/ Github URL packages #6256
Comments
Is it possible yarn caches GH packages only based on repository URL and version number? |
I need an actual repro, |
Related issue: #3303
|
I reproduced it with these public git tags: yarn global add git+ssh://[email protected]:luwes/chameleon.git#cricket-v0.0.1-beta.1
yarn global add git+ssh://[email protected]:luwes/chameleon.git#cricket-v0.0.1-beta.2
yarn global add git+ssh://[email protected]:luwes/chameleon.git#grasshopper-v0.0.1-beta.3
yarn global add git+ssh://[email protected]:luwes/chameleon.git#cricket-v0.0.1-beta.3
yarn global add git+ssh://[email protected]:luwes/chameleon.git#grasshopper-v0.0.1-beta.4
yarn global add git+ssh://[email protected]:luwes/chameleon.git#cricket-v0.0.1-beta.4 |
Any more insights into this issue? |
@arcanis I think the issue is that the cloned repo in that It tries to create an
I traced it back to this line of code which does a |
Bug
What is the current behavior?
yarn install
fails to install subsequent Github URL packages with formatgit+ssh://[email protected]:luwes/chameleon.git#cricket-v0.0.1-beta.3
git+ssh://[email protected]:luwes/chameleon.git#grasshopper-v0.0.1-beta.4
What is the expected behavior?
yarn install
installs the packageNode 10.6.0, Yarn 1.9.4, MacOS 10.13.3
The text was updated successfully, but these errors were encountered: