#use of undeclared crate or module: tauri

5 messages · Page 1 of 1 (latest)

sleek kite
#

I have Tauri running and building with my front-end successfully but now Im trying to get a basic command running following the examples in the docs. I'm getting an error that tauri cannot be found as an external module. I'm very new to rust, so I'm probably missing/botching a use statement, but nothing I've tried so far has worked and my understanding is that external modules simply have to be declared in the [dependencies] property of the toml file, which tauri definitely is.

I've attached a screenshot of the build.rs file and the error.

Thanks for any help

pure field
sleek kite
#

Okay, testing using the boilerplate from cargo create-tauri-app and there was only that one file. Should I make a new main.rs ?

#

okay, yeah that worked thank you

pure field
#

Look in src-tauri/src