create-tauri-app icon indicating copy to clipboard operation
create-tauri-app copied to clipboard

[docs] No warning for missing tauri-cli when chosing .Net as frontend

Open xky0007 opened this issue 11 months ago • 1 comments

  1. npm create tauri-app@latest
  2. Select .net as frontend
  3. Run cargo tauri dev get
cargo tauri dev                                                                                                                                                                                                         14:31:59
error: no such command: `tauri`

        Did you mean `miri`?

        View all installed commands with `cargo --list`
        Find a package to install `tauri` with `cargo search cargo-tauri

xky0007 avatar Jan 13 '25 07:01 xky0007

You may have missed this part of the docs

Once completed, the utility reports that the template has been created and displays how to run it using the configured package manager. If it detects missing dependencies on your system, it prints a list of packages and prompts how to install them.

Normally create-tauri-app would tell you that the tauri cli is missing but it seems to skip that for .net projects. I'll move this to the create-tauri-app repo.

FabianLars avatar Jan 13 '25 10:01 FabianLars