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
dx bundle creates directories recurviely. When I create a project in "dioxus-test",
this is the path that gets generated in the dioxus-test build directory:
dioxus-test/dist/bundle/deb/dioxus-test_0.1.0_amd64/data/usr/lib/
dioxus-test/dist/bundle/deb/dioxus-test_0.1.0_amd64/data/usr/lib/
dioxus-test/dist/bundle/deb/dioxus-test_0.1.0_amd64/data/usr/lib/
dioxus-test/dist/bundle/deb/dioxus-test_0.1.0_amd64/data/usr/lib/
dioxus-test/dist/bundle/deb/dioxus-test_0.1.0_amd64/data/usr/lib/ .. goes on recursively ..
The "bundle" directory seems to be missplaced.
build desktop done
Adding assets from dist to bundle
thread 'main' panicked at src/cli/bundle.rs:193:13:
Failed to bundle project: BundlerError(
Error {
context: "Failed to build data folders and files",
source: BundlerError(
Error {
context: "Failed to copy resource files",
source: IoError(
Os {
code: 36,
kind: InvalidFilename,
message: "File name too long",
},
),
},
),
},
)
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: dioxus_cli::cli::bundle::Bundle::bundle
3: tokio::runtime::park::CachedParkThread::block_on
4: dx::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
dx bundle
creates directories recurviely. When I create a project in "dioxus-test",this is the path that gets generated in the dioxus-test build directory:
dioxus-test/dist/bundle/deb/dioxus-test_0.1.0_amd64/data/usr/lib/
dioxus-test/dist/bundle/deb/dioxus-test_0.1.0_amd64/data/usr/lib/
dioxus-test/dist/bundle/deb/dioxus-test_0.1.0_amd64/data/usr/lib/
dioxus-test/dist/bundle/deb/dioxus-test_0.1.0_amd64/data/usr/lib/
dioxus-test/dist/bundle/deb/dioxus-test_0.1.0_amd64/data/usr/lib/ .. goes on recursively ..
The "bundle" directory seems to be missplaced.
Steps to reproduce:
The output is:
Versions:
Os: Nixos 23.11 with latest dioxus packets from unstable.
dx -V
dioxus 0.5.4
rustc --version
rustc 1.78.0 (9b00956e5 2024-04-29)
dx serve
anddx build
work fine. They don't create the additional "bundle" directory.My shell.nix file:
Why is the bundle directory created in this place ?
The text was updated successfully, but these errors were encountered: