rush: error: argument "<command>": Invalid choice: sort-package-json
Closed this issue · 1 comments
BryanAdamss commented
Describe the bug
- follow the official doc to enable this plugin in your repo.
- run
rush sort-package-json
on monorepo root
step 2 not working, get rush: error: argument "<command>": Invalid choice: sort-package-json
error
Am I missing configuration root/common/config/rush/command-line.json
?(rush prettier
steps in offical doc need configuare this file)
Reproduction
1、clone repo
2、rush install
3、rush sort-package-json
Used Package Manager
pnpm
BryanAdamss commented
it seems like i forgot run rush update
😅