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
Describe the bug
A newly created leptos project (using cargo leptos new --git leptos-rs/start-axum) fails to compile.
To Reproduce
Steps to reproduce the behavior:
Run cargo leptos new --git leptos-rs/start-axum and choose not to use nightly features. (I haven't tested if the nightly fails too)
Go to the newly created project and run cargo leptos watch
See the error
Expected behavior
It runs correctly.
Screenshots
What seems to be the problem
The newly merged PR #2828 seems to be the problem. It updates web-sys from 0.3.69 to 0.3.70. To silence some deprecation warnings, it use some newly added api of web-sys 0.3.70 and correctly update web-sys dependency.
But the 0.6 branch has a problem, PR #2830 intend to do the same thing, but it forget to update web-sys dependency of server-fn.
So the 0.6.14 version resolves to use web-sys 0.3.69, which fails to compile.
The text was updated successfully, but these errors were encountered:
c0per
changed the title
template projects fail to build in version 0.3.
template projects fail to build in version 0.6.14
Aug 14, 2024
Describe the bug
A newly created leptos project (using
cargo leptos new --git leptos-rs/start-axum
) fails to compile.To Reproduce
Steps to reproduce the behavior:
cargo leptos new --git leptos-rs/start-axum
and choose not to use nightly features. (I haven't tested if the nightly fails too)cargo leptos watch
Expected behavior
It runs correctly.
Screenshots
What seems to be the problem
The newly merged PR #2828 seems to be the problem. It updates web-sys from 0.3.69 to 0.3.70. To silence some deprecation warnings, it use some newly added api of web-sys 0.3.70 and correctly update web-sys dependency.
But the 0.6 branch has a problem, PR #2830 intend to do the same thing, but it forget to update web-sys dependency of server-fn.
So the 0.6.14 version resolves to use web-sys 0.3.69, which fails to compile.
The text was updated successfully, but these errors were encountered: