close
Skip to content

[rush] Rush install fails with Rush 5.10.1 and pnpm 3.5.3 #1392

@calebmshafer

Description

@calebmshafer

Is this a feature or a bug?

  • Feature
  • Bug

Updating to Rush 5.10.1 and pnpm 3.5.3 from pnpm 2.25.7, I can now successfully rush update (thanks to #1347). However, when I try to run a rush install it fails saying The shrinkwrap is missing the following dependencies:. A subsequent rush update will work though.

The workflow I followed is:

  1. Update rush.json
  2. Delete existing shrinkwrap.yaml
    • common\temp did not exist either
  3. Run node common/scripts/install-run-rush.js update --full. Which succeeds and appears to work properly
    • Same issue if rush update instead of --full is run here.
  4. Run node common/scripts/install-run-rush.js install. This fails with the shrinkwrap is missing dependencies error.

There is a repro repo here, https://github.com/calebmshafer/imodeljs_rush_bug_repro.

What is the expected behavior?

I expected rush update to create the pnpm-lock.yaml file correctly so rush install works after the lock file is initially created.

Please provide the tool version, Node.js version and OS.

  • Tool: Rush
  • Tool Version:
  • Node Version: 10.15.3
  • OS: Windows 10 1809

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions