-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(docs): Add doc on cleaning the repo. (#31120)
- Loading branch information
Showing
1 changed file
with
15 additions
and
3 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 |
---|---|---|
@@ -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` |