Skip to content

Commit

Permalink
fix: add pnpm version reminder to readme troubleshooting section (#3486)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamdelion authored Aug 1, 2024
1 parent 15962de commit 59093b3
Showing 1 changed file with 6 additions and 0 deletions.
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

0 comments on commit 59093b3

Please sign in to comment.