Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tutorial.md #368

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions website/docs/guides/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/<user>/.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.
Expand Down