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
Error No such file or directory encountered when trying to cross compile from Ubuntu Debian to Windows.
Finished `release` profile [optimized] target(s) in 0.16s
Cargo process finished with success
Cargo envs: LEPTOS_OUTPUT_NAME=ohana LEPTOS_SITE_ROOT=target/site LEPTOS_SITE_PKG_DIR=pkg LEPTOS_SITE_ADDR=127.0.0.1:3000 LEPTOS_RELOAD_PORT=3001 LEPTOS_LIB_DIR=. LEPTOS_BIN_DIR=. LEPTOS_HASH_FILES=false
Cargo finished cargo build --package=ohana --bin=ohana --target=x86_64-pc-windows-gnu --no-default-features --features=ssr --release
Error: at `/home/robert/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-leptos-0.2.17/src/compile/server.rs:39:22`
Caused by:
0: at `/home/robert/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-leptos-0.2.17/src/service/site.rs:117:44`
1: Could not read "target/x86_64-pc-windows-gnu/release/ohana" at `/home/robert/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-leptos-0.2.17/src/ext/fs.rs:44:10`
2: No such file or directory (os error 2)
make: *** [Makefile:23: app] Error 1
Error Raised From
It seems the error is raised from (src) checking whether there are file changes, but somehow failed to find those files when trying to compute the hash.
pub async fn did_external_file_change(&self, to: &Utf8Path) -> Result<bool> {
let new_hash = file_hash(to).await.dot()?;
Additional Env Besides Default
LEPTOS_BIN_TARGET_TRIPLE=x86_64-pc-windows-gnu
Cargo Config
[target.x86_64-pc-windows-gnu]
linker = "x86_64-w64-mingw32-gcc"
ar = "x86_64-w64-mingw32-gcc-ar"
The text was updated successfully, but these errors were encountered:
Description
Error
No such file or directory
encountered when trying to cross compile from Ubuntu Debian to Windows.Error Raised From
It seems the error is raised from (src) checking whether there are file changes, but somehow failed to find those files when trying to compute the hash.
Additional Env Besides Default
LEPTOS_BIN_TARGET_TRIPLE=x86_64-pc-windows-gnu
Cargo Config
The text was updated successfully, but these errors were encountered: