I am quite new tauri and rust for that matter, and I have done programming with Svelte for a long time followed your documentation as best I could and when I run npm run tauri dev, I get the following response:
$ npm run tauri dev
> [email protected] tauri
> tauri dev
Error failed to get cargo metadata: program not found