-
Notifications
You must be signed in to change notification settings - Fork 48
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
Unable to Run Leptonic with Leptos-Axum on NixOS #38
Comments
Also created a discussion at the Leptos repo: leptos-rs/leptos#2300 |
I get the same error running on Mac OS with both Axum and Actix. |
I had the same problem, I'm also on NixOS. Adding leptonic features and/or updating leptonic version to the latest commit fixed it for me. [features]
ssr = [
# ...
"leptonic/ssr"
]
hydrate = [
# ...
"leptonic/hydrate"
] If after this, compiler still spits out an error, try to change leptonic version to leptonic = { git = "https://github.com/lpotthast/leptonic", features = ["nightly"] } Note: |
Thanks for the tips. It helped. |
Hello,
I have a bit non-conventional setup with Leptos on NixOS.
What I have done is used the latest leptos template with
cargo leptos new
and thenrsync -a
the contents ofsrc
,style
, andpublic
of https://github.com/lpotthast/leptonic-template-ssr to leptos project dir.I am getting the following error when trying to do
cargo run
:And here is the
Cargo.toml
:Thanks in advance.
The text was updated successfully, but these errors were encountered: