Skip to content

Commit 78b121a

Browse files
AlexJerabekCopilot
andauthored
[all hosts] (Quick starts) Add quickstart troubleshooting note about outdated packages (#5204)
* Add quickstart troubleshooting note about outdated packages * Update docs/includes/quickstart-troubleshooting-yo.md Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
1 parent f3790f4 commit 78b121a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
[!include[The common troubleshooting section for all quick starts](../includes/quickstart-troubleshooting-common.md)]
22

3-
- The automatic `npm install` step Yo Office performs may fail. If you see errors when trying to run `npm start`, navigate to the newly created project folder in a command prompt and manually run `npm install`. For more information about Yo Office, see [Create Office Add-in projects using the Yeoman Generator](../develop/yeoman-generator-overview.md).
3+
- The automatic `npm install` step Yo Office performs may fail. If you see errors when trying to run `npm start`, navigate to the newly created project folder in a command prompt and manually run `npm install`. For more information about Yo Office, see [Create Office Add-in projects using the Yeoman Generator](../develop/yeoman-generator-overview.md).
4+
- You may see warnings generated when running `npm install` for either Yeoman generator or the project. In most cases, you can safely ignore these warnings. Sometimes, dependencies become deprecated and their replacements aren't supported by other packages on which the project depends. If you would like to resolve these warnings, use the `npm-check-updates` tool.
5+
- In the command prompt while in the root project directory, run `npm i -g npm-check-updates`. This installs the tool globally.
6+
- Run `ncu -u`. This provides a report of all packages and to what versions they will be updated.
7+
- Run `npm install` to update all the packages.

0 commit comments

Comments
 (0)