Yarn: Upgrade-interactive does not work for Node.js above v10.2.0

Created on 7 Jun 2018  路  9Comments  路  Source: yarnpkg/yarn

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

Bug

What is the current behavior?
After the packages are selected, the installation hangs in place without further output

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

I updated my version of Node.js from v10.0.0 to v10.4.0, this behavior started from v10.2.0
Steps:

$ yarn upgrade-interactive --latest

I select packages for updating, I press enter and all

What is the expected behavior?
Updating packages

Please mention your node.js, yarn and operating system version.
Node.js: v10.4.0
Yarn: 1.7.0
Windows: 10

cat-bug help wanted

Most helpful comment

1.12.3 has been released which contains this fix. I think this issue can be closed.

Thanks at the wonderful yarn team for bringing this in so super fast!

All 9 comments

Me too. It hangs. Can't stop it with Ctrl + C.

Node: v10.7.0
Yarn: 1.7.0
OS: Windows 10

Going to close several other issues as duplicates of this one, since this seems to be the oldest issue that reports this.

From what I can tell it's specific to Windows + Node 10.

If someone who can consistently reproduce this can help debug, it would be appreciated!

The best lead on tracking this down seems to be https://github.com/yarnpkg/yarn/issues/6198#issuecomment-433551126

I could track this problem down to an old version of inquirer which is beeing used internally. Sent a PR to update to latest version, which seems to bring no incompatibilities but fixes the problem.

I know this has been merged, but just confirming that running upgrade-interactive off head works for me now!

Had the same issue with the latest stable of 1.12.1, works with nightly 1.13.0 version.

1.12.3 has been released which contains this fix. I think this issue can be closed.

Thanks at the wonderful yarn team for bringing this in so super fast!

@contributors: Close?

Just want to confirm:

I'm on Windows 10. With Node v10.15.3 + Yarn 1.10.1 yarn upgrade-interactive would show me the table of dependencies to upgrade but would then freeze. Downloading the latest stable installer from https://yarnpkg.com/lang/en/docs/install/#windows-stable (1.19.1) fixed the issue.

Thanks! (I think this can be closed)

Was this page helpful?
0 / 5 - 0 ratings