Berry: [Bug] `yarn install` with the node-modules plugin hangs indefinitely

Created on 28 Jan 2020  路  1Comment  路  Source: yarnpkg/berry

Describe the bug

Running yarn install the first time in a project with node-modules plugin enabled (nodeLinker: node-modules set) results in the command displaying a progress bar and hanging indefinitely after it prints "Done with warnings".

To Reproduce

package.json:

{
  "dependencies": {
    "react": "~16.9.0"
  }
}

.yarnrc.yml:

nodeLinker: node-modules

Run yarn install.

Screenshots

Screen Shot 2020-01-28 at 16 32 10

Environment if relevant (please complete the following information):

  • OS: macOS 10.15.2
  • Node version v12.13.0
  • Yarn version 2.0.0-rc.27

Additional context

N/A

bug

Most helpful comment

Fixed in master (#753), you can use yarn set version from sources to try it.

>All comments

Fixed in master (#753), you can use yarn set version from sources to try it.

Was this page helpful?
0 / 5 - 0 ratings