update Readme (#4770)

Signed-off-by: Vlad Timofeev <11474041+vlad-timofeev@users.noreply.github.com>
This commit is contained in:
Vlad 2024-02-25 22:54:04 -05:00 committed by GitHub
parent 4c55ef48f3
commit 57b15752ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -138,13 +138,17 @@ cd ./dev/tool
rushx upgrade -f
```
In cases where the project fails to build for any logical reason, try the following steps:
## Troubleshooting
If a build fails, but the code is correct, try to delete the [build cache](https://rushjs.io/pages/maintainer/build_cache/)
```bash
rush update
rush build --clean
# from the project root
rm -rf common/temp/build-cache
```
and retry.
## Tests
### Unit tests