Added start nodes

Hugo Bernier 2022-03-27 00:32:19 -04:00
parent 1e63b411f0
commit a27bd1396b
1 changed files with 3 additions and 2 deletions

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