Please prefix the issue title with the project name i.e. [rush], [api-extractor] etc.
Is this a feature or a bug?
Please describe the actual behavior.
rush update fails to install packages, but running the failed pnpm install command directly succeeds.
If the issue is a bug, how can we reproduce it? Please provide detailed steps and include a GitHub branch if applicable. Your issue will get resolved faster if you can make it easy to investigate.
- checkout the repo (branch: nextjs): https://github.com/dfee/rush-issues/tree/nextjs
- run rush update, to get the following error
ERROR @rush-temp/primary > next: @next/react-refresh-utils@9.4.4 requires a peer of react-refresh@0.8.3 but none was installed.
Resolving: total 718, reused 33, downloaded 0
The command failed:
/Users/dfee/code/rush-issues/common/temp/pnpm-local/node_modules/.bin/pnpm install --store /Users/dfee/code/rush-issues/common/temp/pnpm-store --no-lock --no-prefer-frozen-lockfile --strict-peer-dependencies --resolution-strategy=fewer-dependencies
- run the failed pnpm command directly:
/Users/dfee/code/rush-issues/common/temp/pnpm-local/node_modules/.bin/pnpm install --store /Users/dfee/code/rush-issues/common/temp/pnpm-store --no-lock --no-prefer-frozen-lockfile --strict-peer-dependencies --resolution-strategy=fewer-dependencies
What is the expected behavior?
...
If this is a bug, please provide the tool version, Node.js version, and OS.
- Tool: rush
- Tool Version: v5.27.0
- Node Version: v12.16.3
- Is this a LTS version? yes
- Have you tested on a LTS version? this is lts.
- OS: macOS 10.15.3
Please prefix the issue title with the project name i.e. [rush], [api-extractor] etc.
Is this a feature or a bug?
Please describe the actual behavior.
rush updatefails to install packages, but running the failedpnpm installcommand directly succeeds.If the issue is a bug, how can we reproduce it? Please provide detailed steps and include a GitHub branch if applicable. Your issue will get resolved faster if you can make it easy to investigate.
What is the expected behavior?
...
If this is a bug, please provide the tool version, Node.js version, and OS.