#error: failed to create directory

1 messages · Page 1 of 1 (latest)

jolly wedge
#

Hello, I would like to switch from Electron to Tauri since Tauri lets me write Rust.

  • I followed the instructions on the homepage using cargo:
cargo install create-tauri-app --locked
cargo create-tauri-app
  • I chose Rust as the front-end language and Leptos for the UI.
  • Then I execute the following command: cargo tauri dev and get the following error:
2024-08-11T15:22:03.043489Z  INFO Starting trunk 0.20.3
2024-08-11T15:22:03.049672Z  INFO starting build
        Warn Waiting for your frontend dev server to start on http://localhost:1420/...
error: failed to create directory `C:\Users\root\Desktop\huddle-chat\target`

Unfortunately I have not found a solution for this and hope someone could help me so that I can finally start the development and enjoy the beauty of Tauri.

jolly wedge
#

Addendum; I'm running the CLI as an Administrator.

jolly wedge
#

Wooow! Big support on here.
I will re-install everything and give it another try.