Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error is reported when executing the build. #411

Open
tqq1994516 opened this issue Dec 30, 2024 · 0 comments
Open

An error is reported when executing the build. #411

tqq1994516 opened this issue Dec 30, 2024 · 0 comments

Comments

@tqq1994516
Copy link

tqq1994516 commented Dec 30, 2024

When bin-target-triple = "wasm32-wasip2" is set and kebab case is used for the project name, an error will be reported when executing the build.

Error: at `/root/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/cargo-leptos-0.2.24/src/compile/server.rs:40:22`

Caused by:
    0: at `/root/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/cargo-leptos-0.2.24/src/service/site.rs:117:44`
    1: Could not read "target/server/wasm32-wasip2/debug/semen-sinapis.wasm" at `/root/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/cargo-leptos-0.2.24/src/ext/fs.rs:44:10`
    2: No such file or directory (os error 2)

The result of the compilation will be changed to snake_case named file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant