#Failed to get cargo metadata

1 messages · Page 1 of 1 (latest)

gray tide
#

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
queen fog
#

This really can only mean one of 2 things

  1. You don't have rust installed
  2. Rust is not in $PATH - if you just installed it you'll have to restart the terminal or sometimes even the computer to make it pick it up.
gray tide