Skip to content

[rush] Unable to use local version of rush in rushstack repo #5197

Open
@dmichon-msft

Description

@dmichon-msft

Summary

Repro steps

rush install
rush build -t rush
node ./apps/rush/lib/start-dev.js build --to module-minifier

Expected result:
Successful build

Actual result:
==[ @rushstack/eslint-patch (build) ]=============================[ 2 of 25 ]==
pnpm-sync: The workspace was installed using an incompatible version of pnpm-sync.
pnpm-sync: Please run "rush install" or "rush update" again.
pnpm-sync: Expecting .pnpm-sync.json version 0.3.0, but found version 0.2.9
pnpm-sync: Affected folder: /workspaces/rushstack-2/libraries/tree-pattern/node_modules/.pnpm-sync.json
pnpm-sync: The workspace was installed using an incompatible version of pnpm-sync.
pnpm-sync: Please run "rush install" or "rush update" again.
pnpm-sync: Expecting .pnpm-sync.json version 0.3.0, but found version 0.2.9
pnpm-sync: Affected folder: /workspaces/rushstack-2/eslint/eslint-patch/node_modules/.pnpm-sync.json
"@rushstack/eslint-patch (build)" failed to build.

Details

It is necessary to be able to use the locally built copy of Rush against the current repository, since this is the normal development testing flow

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@microsoft/rush globally installed version? 5.151.0
rushVersion from rush.json? 5.151.0
useWorkspaces from rush.json? true
Operating system? Linux
Would you consider contributing a PR? Yes
Node.js version (node -v)? 22.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions