From 1b4b96ee458fb3d9b4822b67f0c81add1c31770b Mon Sep 17 00:00:00 2001 From: Hugo Bernier Date: Sat, 26 Mar 2022 23:14:01 -0400 Subject: [PATCH] added diagnostics chart --- Troubleshooting-issues-with-samples.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Troubleshooting-issues-with-samples.md b/Troubleshooting-issues-with-samples.md index 2e6cabf..a8d8acd 100644 --- a/Troubleshooting-issues-with-samples.md +++ b/Troubleshooting-issues-with-samples.md @@ -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.