Open RE2012 opened 3 months ago
I expect to create a new project everywhere without internet connection.
All templates are downloaded from the https://github.com/eez-open/eez-project-templates and not distributed with the Studio. One reason is that they are licensed using MIT license and Studio is GNU . But, I agree, if you are offline we should use files from the cache. This means that at least once you should be online before using templates.
Describe the bug If no internet connection is available then project creation fails.
To Reproduce Prepartation: turn off internet connection (e.g. go to Air plane mode / disable WIFI / remove network cable)
in studio go to "Home" page, select "Create" and select template "LVGL"
enter a name and click "create project" button -> creation fails with: "TypeError: Failed to fetch"![creation_failed](https://github.com/eez-open/studio/assets/90791342/bb17d43a-2da7-42f2-a537-9f4c7971c2ce)
sub error: establish network connection and click "create project" button - it fails, as the empty project folder already exists - so you need to remove the empty folder first.
Expected behavior I expect to create a new project everywhere without internet connection.
Desktop (please complete the following information)
LVGL version (if used)
Studio version