You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cargo leptos build looks for the server binary always in
target/debug
and then fails with:
Error: at `~/.cargo/git/checkouts/cargo-leptos-eb87bffcd2ca8f75/5dd5ec2/src/compile/server.rs:40:22`
Caused by:
0: at `~/.cargo/git/checkouts/cargo-leptos-eb87bffcd2ca8f75/5dd5ec2/src/service/site.rs:117:44`
1: Could not read "target/debug/test_leptos" at `/Users/htr/.cargo/git/checkouts/cargo-leptos-eb87bffcd2ca8f75/5dd5ec2/src/ext/fs.rs:44:10`
2: No such file or directory (os error 2)
in fact everything builds well,
but the binary is located in target/TARGET_TRIPLE/debug.
In my case i can find the binary in target/aarch64-apple-darwin/
if i copy this into target/debug
it works, but sure this i not nice.
The text was updated successfully, but these errors were encountered:
holg
changed the title
cargo leptos buil / serve fails
cargo leptos build fails
Sep 1, 2024
holg
pushed a commit
to holg/cargo-leptos
that referenced
this issue
Sep 1, 2024
cargo leptos build looks for the server binary always in
target/debug
and then fails with:
in fact everything builds well,
but the binary is located in target/TARGET_TRIPLE/debug.
In my case i can find the binary in target/aarch64-apple-darwin/
if i copy this into target/debug
it works, but sure this i not nice.
The text was updated successfully, but these errors were encountered: