From 6d81addc6130ef32a949a682329cc7e258f92d09 Mon Sep 17 00:00:00 2001 From: Ritesh Patidar <37733162+ritshpatidar@users.noreply.github.com> Date: Fri, 31 Dec 2021 12:46:21 +0530 Subject: [PATCH] Update tutorial.md --- website/docs/guides/tutorial.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/website/docs/guides/tutorial.md b/website/docs/guides/tutorial.md index a65a55cc..0a70a598 100644 --- a/website/docs/guides/tutorial.md +++ b/website/docs/guides/tutorial.md @@ -64,6 +64,14 @@ $ npm start [quick-start]: https://github.com/nodegui/react-nodegui-starter +## In case it throws timeout error during npm/yarn install. +This is a common issue with react-nodegui installation, happening may be due to slow computer, or internet connection. So this may save a lot of your time. + +1. Clean npm/yarn cache. Delete `node_modules` folder. +2. Delete `nodegui-mini-qt-nodejs` folder inside `/home//.cache/`. +3. Set timeout for package manager(npm/yarn) to 1000000. +4. Install again, make sure you have used correct way to set timeout for package manager. For yarn you can do it directly, pass command line argument like this- `yarn install --network-timeout 1000000`. + ## What else other than a basic window? React NodeGui has support for basic components like View (similar to div), CheckBox, PushButton and many more.