Skip to content

nft not tracing camaro.wasm in camaro library #523

@kiwirm

Description

@kiwirm

I am experiencing this issue when trying to use camaro in a next.js project. Not sure whether this is an issue with next or nft. Minimum reproducible example at https://github.com/kiwirm/camaro-next.

After npm run dev and trying to upload a xml file, get the following error:

Aborted(Error: ENOENT: no such file or directory, open '/Users/ryan/Developer/clones/camaro-next/.next/server/vendor-chunks/camaro.wasm')
failed to asynchronously prepare wasm: RuntimeError: Aborted(Error: ENOENT: no such file or directory, open '/Users/ryan/Developer/clones/camaro-next/.next/server/vendor-chunks/camaro.wasm'). Build with -sASSERTIONS for more info.

Manually copy and pasting camaro.wasm from node_modules into the .next directory results in the project working normally.

Originally posted by @kiwirm in #101

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