-
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
Install from a branch gets cached #2280
Comments
Should be fixed now #2074. |
can reproduce on node 8.3.0 yarn 0.27.5 Ubuntu 16.04 |
@Dmitra please try a more recent version. You can try 0.28.1 from NPM or the nightlies. |
@BYK can't reproduce on yarn 1.0.0-20170809.1554 |
@Dmitra that means it is fixed on master, yay! And thanks :) |
[email protected] exhibits similar behavior. |
Same thing in [email protected]. The only way to force fetching is with |
Having the same issue. Have to run
|
I vote for reopening this issue. |
Yes same here, this can cause an incorrect release being bundled in our production code... |
cc @bestander |
@xomaczar, could you open a new issue with a repro step please? |
I've created a new issue with steps to reproduce: #4734 |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
Yarn is getting the same package from cache when using a branch even if the branch has new commits. Event after running
npm install <package>
and getting the new package, runningyarn
after will bring back the old cached package.If the current behavior is a bug, please provide the steps to reproduce.
Try installing a branch from a repository:
"<package>": "git+ssh://[email protected]/<user>/<package>.git#<branch>",
yarn
, add new commits to<branch>
, thenyarn
again. You will get a cached version without the new commits.What is the expected behavior?
Since we are not specifying a version in
dependencies
but a branch,yarn
should get the latest commit from the branch.npm
works well.Please mention your node.js, yarn and operating system version.
Node 7.2.1, yarn 0.17.10, macOS Sierra.
The text was updated successfully, but these errors were encountered: