Yarn: Yarn stuck at upgrade-interactive

Created on 7 Sep 2018  路  7Comments  路  Source: yarnpkg/yarn

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

What is the current behavior?
I create a new folder, open a command prompt, runyarn init and install an outdated version of a package. E.g.
yarn add [email protected]. Then I try to upgrade the package using yarn upgrade-interactive --latest. It detects that the glob package is outdated, so I select it and hit Enter. Then it shows ? Choose which packages to update. [email protected] and is stuck. It does not do anything!

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

What is the expected behavior?
The upgrade-interactive command shall update the packages and package.json.

Please mention your node.js, yarn and operating system version.
Windows 10 - 1709 - 16299.611
Yarn v1.11.0-20180905.1625 (tried it with the latest stable release aswell)
Node 10.10.0 (Doesn't work with latest LTS either)

The upgrade-interactive command worked a few weeks ago. I didn't change anything, but it stopped working. Please let me know when you need any additional information. Thanks!

triaged

All 7 comments

Same here any version form 1.7 on win7 , node 9, 10

@torifat Did you have to time to take a look at this? It's really annoying!

Hey there, I've just done npm i -g [email protected] and it seems to work.

@bkniffler Nope, does not seem to work for me! I tried [email protected] and [email protected] and both get stuck at the upgrade-interactive command!

same here, tried 1.10.0, 1.12.0 and 1.13.0 馃槶

Can confirm that yarn get stuck when running upgrade-interactive.

Yarn: 1.12.1
Node: v11.0.0

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

Was this page helpful?
0 / 5 - 0 ratings