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
yarn install fails to install subsequent Github URL packages with format git+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
error Command failed.
Exit code: 128
What is the expected behavior?
yarn install installs the package
Node 10.6.0, Yarn 1.9.4, MacOS 10.13.3
The text was updated successfully, but these errors were encountered:
Yes I have seen this issue on some builds at my current company. It seems like a cache bug in yarn related to the git private deps. Last time I failed to create an isolated repro.
Gitpkg is affected by the same bug reported here by me.
yarnpkg/yarn#6256
The root issue is that a
git pull
on the cached repo will not pull in the standalone tags (not reachable from the heads).Related question on Stackoverflow:
https://stackoverflow.com/questions/16678072/fetching-all-tags-from-a-remote-with-git-pull/27911598
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: