-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add pnpm version reminder to readme troubleshooting section (#3486)
- Loading branch information
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|