added diagnostics chart

Hugo Bernier 2022-03-26 23:14:01 -04:00
parent 97efcee36c
commit 1b4b96ee45
1 changed files with 8 additions and 4 deletions

@ -12,9 +12,14 @@ graph TD
C -->|Yes| D[Diagnose npm install issues]
C -->|No| E(gulp build)
E --> F{Does in build?}
F
F -->|Yes| G[gulp serve]
G --> I{Does it gulp serve?}
F -->|No| H[Diagnose gulp build issues]
I -->|Yes| J[Diagnose web part execution issues]
click D "https://github.com/pnp/sp-dev-fx-webparts/wiki/Troubleshooting-issues-with-samples#diagnose-npm-install-issues"
click H "https://github.com/pnp/sp-dev-fx-webparts/wiki/Troubleshooting-issues-with-samples#diagnose-gulp-build-issues"
click G "https://github.com/pnp/sp-dev-fx-webparts/wiki/Troubleshooting-issues-with-samples#diagnose-gulp-serve-issues"
click J "https://github.com/pnp/sp-dev-fx-webparts/wiki/Troubleshooting-issues-with-samples#diagnose-web-part-execution-issues"
```
## Diagnose `npm install` issues
@ -34,7 +39,6 @@ graph TD
click J "https://github.com/pnp/sp-dev-fx-webparts/wiki/Troubleshooting-issues-with-samples#run-spfx-doctor"
J --> K{Compatibilty issues?} -->|Yes| L(Fix Compatibilty issues) -->|Retry|B
J -->|No| M(Open an issue)
```
Please note that warnings will rarely prevent the solution from working; We only worry about errors.