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

create tauri-app --beta does not initialise a working project #592

Closed
mon opened this issue Feb 4, 2024 · 1 comment · Fixed by #593
Closed

create tauri-app --beta does not initialise a working project #592

mon opened this issue Feb 4, 2024 · 1 comment · Fixed by #593
Labels
bug Something isn't working

Comments

@mon
Copy link

mon commented Feb 4, 2024

I'm calling this a docs issue because examples to me count as documentation, but it might be better classified as a bug.

I setup a new npm+svelte+TS Tauri project after the Beta announcement with npm create tauri-app@latest -- --beta.

It creates an invalid tauri.conf.json, which is easily rectified by just poking different sections with vscode's autocomplete (due to the new config layout in tauri-apps/tauri#8723).

It also creates invalid capabilities schemas (Permission shell:open not found, expected one of...). Fixing that is less obvious to a new user.

@mrcnk
Copy link

mrcnk commented Feb 4, 2024

Can confirm, and removing shell:open from src-tauri/capabilities/main.json leads to a blank screen in the simulator:

CleanShot 2024-02-04 at 11 47 41@2x

@FabianLars FabianLars transferred this issue from tauri-apps/tauri Feb 4, 2024
@FabianLars FabianLars added the bug Something isn't working label Feb 4, 2024
@FabianLars FabianLars changed the title [docs] create tauri-app --beta does not initialise a working project create tauri-app --beta does not initialise a working project Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants