Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add pnpm version reminder to readme troubleshooting section #3486

Merged
merged 1 commit into from
Aug 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,19 @@ Once a deployment is completed, a Slack notification will be sent to the #planx-

### Troubleshooting

**Diverging branches**

If the commit history of `main` and `production` diverge and `production` contains commit hashes that are NOT on main, try running this command from `production` to reset and then follow the original deploy steps above:
```bash
git reset --hard <most recent commit hash **matching** main> && git push --force
```

You'll have to temporarily turn off branch protection rules to make this change, so run it by another dev to confirm.

**Unmet peer dependencies**

Make sure `pnpm` is installed globally at version 8.6.6 `pnpm add -g [email protected]`, otherwise you may hit some unmet peer dependencies issues.

## Audits

### Accessibility
Expand Down
Loading