Skip to content

Commit

Permalink
(docs): Add doc on cleaning the repo. (#31120)
Browse files Browse the repository at this point in the history
  • Loading branch information
mltejera committed May 2, 2024
1 parent 1f3d2e7 commit effd6ff
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions docs/react-v9/contributing/common-dev-snags.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
// TODO #30642 A doc explaining common snags and trip hazards.
### Cleaning your repo

Assignee - Mason
Reviewer - Sean
Every once in a while you'll get build errors in node modules unrelated to your work. This usually happens when changes get checked into packages not related to the package you're working on.

First, file an issue [here](https://github.com/microsoft/fluentui/issues/new/choose) to ensure the team can track this issue.

Make sure all your desired changes are stashed or otherwise saved somewhere you can pull them back in.

First try running:

`yarn`

If the issues still persist, clean your repo:

`yarn cache clean`
`yarn`

0 comments on commit effd6ff

Please sign in to comment.