Closed jafioti closed 1 week ago
I just updated dependencies with cargo update
and have the same error:
error[E0425]: cannot find function `apply_metadata` in module `schemars::_private`
--> /home/brainless/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-utils-2.0.0-beta.13/src/config.rs:216:27
|
216 | schemars::_private::apply_metadata(
| ^^^^^^^^^^^^^^ not found in `schemars::_private`
error[E0425]: cannot find function `apply_metadata` in module `schemars::_private`
--> /home/brainless/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-utils-2.0.0-beta.13/src/config.rs:223:27
|
223 | schemars::_private::apply_metadata(
| ^^^^^^^^^^^^^^ not found in `schemars::_private`
I am using Tauri v2 (2.0.0-beta.17
).
I tried creating a new project with pnpm create tauri-app --beta
and I get the same error after running pnpm install
and pnpm tauri dev
.
can confirm, just got hit by that approximately at the same time as you. Though I'm new to Tauri so I though it was a me issue
pnpm install @tauri-apps/cli@next @tauri-apps/api@next
pnpm create tauri-app --beta
# because Android Studio and other crap
$env:NDK_HOME="C:\Users\user\AppData\Local\Android\Sdk\ndk\27.0.11718014"
pnpm tauri android init
pnpm tauri android dev
Got the same error.
Describe the bug
When I run
cargo install tauri-cli --version "=2.0.0-beta.15"
, I recieve an error:Reproduction
Run
cargo install tauri-cli --version "=2.0.0-beta.15"
Expected behavior
I would expect this to correctly install the tauri cli.
Full
tauri info
outputStack trace
No response
Additional context
No response