Skip to content

Commit f2a42c7

Browse files
authored
Update create-flet-app.md
Added troubleshooting information for users in case they encounter error: Git not installed. This is important because the link to installing Git is provided as well as information so users don't confuse Git with GitHub.
1 parent 23cb95d commit f2a42c7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/getting-started/create-flet-app.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ The command will create the following directory structure:
4242
```
4343

4444
:::note
45-
Original `pyproject.toml` created by `uv init` or `poetry init` will be replaced with the one from Flet app template.
45+
1. Original `pyproject.toml` created by `uv init` or `poetry init` will be replaced with the one from Flet app template.
46+
2. In case you encounter the error `Error creating the project from a template: 'git' is not installed.`, it means that you don't have _Git_ installed. Please visit [git-scm.com/downloads](https://git-scm.com/downloads) and install the latest version of _Git_. To verify your installation, type ‘git’ on Command Prompt.
47+
Please note that _Git_ is not the same as _GitHub CLI_ which is not an alternative for use with Flet.
4648
:::
4749

4850
`src/main.py` contains Flet program. It has `main()` function where you would add UI elements ([controls](flet-controls)) to a page or a window. The application ends with a blocking `ft.app()` function which initializes Flet app and [runs](running-app) `main()`.
4951

5052
You can find more information about `flet create` command [here](/docs/reference/cli/create).
5153

52-
Now let's see Flet in action by [running the app](running-app)!
54+
Now let's see Flet in action by [running the app](running-app)!

0 commit comments

Comments
 (0)