Yarn: Yarn upgrade-interactive --latest freezes

Created on 29 Oct 2018  路  6Comments  路  Source: yarnpkg/yarn

Do you want to request a feature or report a bug?

Bug

What is the current behavior?
Yarn freezes after running upgrade-interactive --latest and selecting dependencies to upgrade. Updating package.json manually and running yarn install works.

If the current behavior is a bug, please provide the steps to reproduce.

  1. Run upgrade-interactive --latest.
  2. Select dependencies to upgrade and confirm.

What is the expected behavior?
Yarn should download the latest version of selected dependencies.

Please mention your node.js, yarn and operating system version.
Node: v11.0.0
NPM: 6.4.1
OS: Win 10 (1803)
CLI: tried on Windows native CMD, ConEmu and Cmder.

Videos
Running yarn upgrade-interactive --latest:
yarn-upgrade-01

Updating package.json manually and running yarn install:
ezgif-1-f14f7e9ffc73

help wanted os-windows

Most helpful comment

I've got the same issue (even without --latest) in three different Windows 10 pc. I think it's a node 10 incompatibility issue.

It's has been already reported in https://github.com/yarnpkg/yarn/issues/6367

All 6 comments

It seems to work fine for me. Might be something with your specific packages and options? Could you try adding --verbose flag too and see if that gives any indication of what it's doing?

I've got the same issue (even without --latest) in three different Windows 10 pc. I think it's a node 10 incompatibility issue.

It's has been already reported in https://github.com/yarnpkg/yarn/issues/6367

@rally25rs what version of node do you have on your computer?

Same here.
Running on Node 10.13

I see there are a lot of people and issue about this, some event 2-3 months old:

  • #6367
  • #6198
  • #5949

I tried node 10.1 and 10.13 on OSX and didn't have any problems. Might just be a Windows + node 10 specific issue? Unfortunately I don't have my Windows machine with me today to try that out. If someone who can consistently reproduce this could help debug, that would be awesome!

Closing as duplicate of #5949
Let's continue the discussion there.

Was this page helpful?
0 / 5 - 0 ratings