Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upyarn upgradeInteractive --latest not showing latest package(s) #6852
Comments
|
Are you able to share your |
|
Note also that if 16.7.0 is already installed in |
|
Based on the lock file, I would guess that
While
package.json
yarn.lock
|
|
Ah, right, this is sort of a known issue. What happens is that the first step that If finds nothing outdated (16.7.0 is latest, and that is what is installed) so it exits. The code never progresses to the point where it would update the If an older version was still installed, then it would find an outdated package and move on to the modification of I think there is an open issue for this case somewhere, but I can't find it at the moment, so I'll tag this issue as a bug. |
|
Hi, I will try to fix it :) |
|
Here's what I found: Fail:
Success:
I use yarn workspaces. |


Do you want to request a feature or report a bug?
bug
What is the current behavior?
yarn upgradeInteractive --latestdoesn't seem to show the latest package versions, or I'm missing out something? For example,"react": "^16.6.3",inpackage.json, whilereact@16.7.0is already available?I was able to successfully use the command some hours before to update some really old packages. I also tried to delete the
node_modulesdirectory incl.yarn.lockfile, which unfortunately didn't help to resolve this issue.If the current behavior is a bug, please provide the steps to reproduce.
Please see above.
What is the expected behavior?
I would expect it to offer an upgrade to
react@16.7.0which can be added separately.Please mention your node.js, yarn and operating system version.
Node.js:
8.11.3Yarn:
1.12.3OS:
Windows 10