diff --git a/Troubleshooting-issues-with-samples.md b/Troubleshooting-issues-with-samples.md index 5938d91..24a1bd4 100644 --- a/Troubleshooting-issues-with-samples.md +++ b/Troubleshooting-issues-with-samples.md @@ -6,7 +6,7 @@ Once you have performed the steps in this article, you can proceed with creating ```mermaid graph TD - A[Get web part sample code] + A([Get web part sample code]) A -->|Open repo/unzip folder| B(npm install) B --> C{npm install errors?} C -->|Yes| D[Diagnose npm install issues] @@ -25,6 +25,7 @@ graph TD style H fill:#f9f,stroke:#333,stroke-width:4px style K fill:#f9f,stroke:#333,stroke-width:4px style J fill:#f9f,stroke:#333,stroke-width:4px + style A fill:#2da44e,color:#fff,stroke:#1b1f2426 ``` ## Diagnose `npm install` issues @@ -41,7 +42,7 @@ graph TD E --> |Yes| F{Path too long?} --> |Yes| H[Move project to shorter path] --> |Retry|A E --> |No| K[Run spfx doctor] K --> J{Any reported issues?} --> |Yes| L[Fix issuen] --> |Retry|A - K --> |No| M{Did you change versions of
nodejs after downloading sample?} --> |Yes| N[Run npm rebuild node-sass] --> |Retry|A + K --> |No| M{Did you change
versions of nodejs
after downloading sample?} --> |Yes| N[Run npm rebuild node-sass] --> |Retry|A M --> |No| O[Open a ticket from sample's README] click K "https://github.com/pnp/sp-dev-fx-webparts/wiki/Troubleshooting-issues-with-samples#run-spfx-doctor" click D "https://github.com/pnp/sp-dev-fx-webparts/wiki/Troubleshooting-issues-with-samples#change-directory-to-root-of-project"