简体   繁体   中英

When I install and run Tauri on Mac OS Monterey I get immediate error

I installed it via:

npm create tauri-app

I chose a vanilla JavaScript environment to code it.

I run:

  cd app
  npm install
  npm run tauri dev

The result is this error:

> app@0.0.0 tauri
> tauri dev

thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/interface/rust.rs:762:69
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I am on Mac OS Monterey.

I searched the error online and it seems it might have something to do with my systems time configuration but I am unsure.

You need to install Rust before Tauri. Installing Tauri does not include Rust

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM