Skip to content
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 upgrade not upgrading package based on git url #1280

Closed
mgutz opened this issue Oct 20, 2016 · 2 comments
Closed

yarn upgrade not upgrading package based on git url #1280

mgutz opened this issue Oct 20, 2016 · 2 comments

Comments

@mgutz
Copy link

mgutz commented Oct 20, 2016

I added a dependency yarn add dalicious@mgutz/dalicious#matcherino. That branch was subsequently updated on github. I ran yarn upgrade dalicious@mgutz/dalicious#matcherino. The package in node_modules did not upgrade; however, the lock file was updated and correctly references the updated commit. I download and expanded the resolved URL tarball to verify.

I completely removed the node_modules directory and ran yarn install. The older version was still in use.

Expected yarn to upgrade the package.

yarn v0.16.1 on Ubuntu 16.04

@panrafal
Copy link
Contributor

This is a similar issue to #1278
Try removing ~/.yarn-cache and run yarn afterwards - it should be updated

@bestander
Copy link
Member

Should be fixed now #2074

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants