Skip to content

[BUG] Fresh leptos template fails to generate #731

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

Open
1 task done
kofron opened this issue May 19, 2025 · 0 comments
Open
1 task done

[BUG] Fresh leptos template fails to generate #731

kofron opened this issue May 19, 2025 · 0 comments

Comments

@kofron
Copy link

kofron commented May 19, 2025

Is there an existing issue for this?

  • I have searched the existing issues

What version of workers-rs are you using?

0.5.0

What version of wrangler are you using?

4.15.2

Describe the bug

Just running the example with the leptos template fails:

❯ cargo generate cloudflare/workers-rs
⚠️ Favorite cloudflare/workers-rs not found in config, using it as a git repository: https://github.com/cloudflare/workers-rs.git
✔ 🤷 Which template should be expanded? · templates/leptos
🤷 Project Name: my-project
🔧 Destination: /Users/kofron/Code/my-project ...
🔧 project-name: my-project ...
🔧 Generating template ...
[ 1/19] Done: .gitignore [ 2/19] Done: Cargo.lock [ 3/19] Done: Cargo.toml [ 4/19] Done: README.md [ 6/19] Done: assets[ 8/19] Done: public [ 9/19] Done: src/api/mod.rs [10/19] Done: src/api/say_hello.rs [11/19] Done: src/api [12/19] Done: src/app.rs[13/19] Done: src/components/mod.rs [14/19] Done: src/components/show_data_from_api.rs [15/19] Done: src/components [16/19] Done: src/lib.rs [17/19] Done: src/main.rs[18/19] Done: src [19/19] Done: wrangler.toml Error: Substitution skipped, found invalid syntax in
assets/favicon.ico
public/favicon.ico

Consider adding these files to a cargo-generate.toml in the template repo to skip substitution on these files.

Learn more: https://github.com/cargo-generate/cargo-generate#include--exclude.

Steps To Reproduce

No response

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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy