Skip to content

Error: Substitution skipped, found invalid syntax #2

@podsvirov

Description

@podsvirov
$ cargo generate thaw-ui/thaw-template
 Favorite `thaw-ui/thaw-template` not found in config, using it as a git repository: https://github.com/thaw-ui/thaw-template.git
✔  Which sub-template should be expanded? · start-actix
 Project Name: thaw-actix
 Destination: ...\thaw-actix ...
 project-name: thaw-actix ...
 Generating template ...
✔  Use nightly features? · No
[ 1/19]   Done: .gitignore                                                                                                                     [ 2/19]   Done: Cargo.toml                                                                                                                     [ 3/19]   Done: LICENSE
[ 4/19]   Done: README.md
[ 6/19]   Done: assets
[ 7/19]   Done: end2end\package-lock.json
[ 8/19]   Done: end2end\package.json
[ 9/19]   Done: end2end\playwright.config.ts
[10/19]   Done: end2end\tests\example.spec.ts
[11/19]   Done: end2end\tests
[12/19]   Done: end2end\tsconfig.json
[13/19]   Done: end2end
[14/19]   Done: src\app.rs
[15/19]   Done: src\lib.rs
[16/19]   Done: src\main.rs
[17/19]   Done: src
[18/19]   Done: style\main.scss
[19/19]   Done: style
Error: Substitution skipped, found invalid syntax in
        assets\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.

Looks like Learn more link is broken, but I was found Include/Exclude section from Cargo Generate Documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions