Skip to content

Sketch assertion fails when building a vite lustre project #36

@abdulhakim-alshanqiti

Description

@abdulhakim-alshanqiti

kemo-tvt
a project you can test run
npm run dev and it will work when doing npm run build it will fail

the first error message is this

index-DiHr-d0T.js:7  Uncaught Error: Pattern match failed, no pattern matched the value.
    at pe (index-DiHr-d0T.js:1:4603)
    at vi (index-DiHr-d0T.js:7:4776)
    at index-DiHr-d0T.js:7:6058
    at We (index-DiHr-d0T.js:1:4983)
    at jn (index-DiHr-d0T.js:7:6050)
    at jt.<anonymous> (index-DiHr-d0T.js:7:7044)
    at jt.Ne (index-DiHr-d0T.js:2:9543)
    at index-DiHr-d0T.js:2:8257

when going to the first line in the error it puts me in a js file with this line

        throw pe("let_assert", "sketch", 53, "class_name", "Pattern match failed, no pattern matched the value.", {
            value: t
        });

this error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions