You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check out the repo, and run rush install or rush update (include the --purge flag to run again)
Expected result:readPackage: Expect to see this for every package to be printed for every package being resolved.
Actual result: No output from pnpmfile readPackage
Details
What do you think is the cause of this problem?
The move by pnpm to rename the pnpmfile.js to .pnpmfile.cjs
How do you think we should fix this?
This can be manually fixed for a single run (until a rush purge) by copying/moving the common/temp/pnpmfile.js to common/temp/.pnpmfile.cjs and running rush update --full
--------------------------------------------------------------------------->
Standard questions
Please answer these questions to help us investigate your issue more quickly:
Question
Answer
@microsoft/rush globally installed version?
5.42.3
rushVersion from rush.json?
5.42.3
useWorkspaces from rush.json?
true
Operating system?
Linux
Would you consider contributing a PR?
Yes
Node.js version (node -v)?
14.15.1
The text was updated successfully, but these errors were encountered:
Summary
The pnpmfile was changed when pnpm moved from v5.x.x to v6+. It moved from
pnpmfile.js
to.pnpmfile.cjs
This change does not seem to have been picked up by rush.
What were you trying to accomplish?
To fix a broken transitive dependency version.
What action did you perform that ran into trouble?
rush install
What went wrong?
The pnpm file never got run.
Repro steps
Repro repo: https://github.com/egmacke/rush-example
Check out the repo, and run
rush install
orrush update
(include the--purge
flag to run again)Expected result:
readPackage: Expect to see this for every package
to be printed for every package being resolved.Actual result: No output from pnpmfile
readPackage
Details
What do you think is the cause of this problem?
The move by pnpm to rename the
pnpmfile.js
to.pnpmfile.cjs
How do you think we should fix this?
This can be manually fixed for a single run (until a
rush purge
) by copying/moving thecommon/temp/pnpmfile.js
tocommon/temp/.pnpmfile.cjs
and runningrush update --full
--------------------------------------------------------------------------->
Standard questions
Please answer these questions to help us investigate your issue more quickly:
@microsoft/rush
globally installed version?rushVersion
from rush.json?useWorkspaces
from rush.json?node -v
)?The text was updated successfully, but these errors were encountered: