Skip to content

Any plugin I compile breaks Next js / Error while importing "__wbindgen_placeholder__"."__wbindgen_describe": unknown import. Expected Function(FunctionType { params: [I32], results: [] }) #7361

Answered by stahlbauer
romanusname asked this question in Q&A
Discussion options

You must be logged in to vote

The problem was that I had dependencies in my Cargo.toml that also added WASM import/exports without being used for the functionality on the interface to SWC. Removing the dependency solved to problem.

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@romanusname
Comment options

@stahlbauer
Comment options

@romanusname
Comment options

@romanusname
Comment options

@HeartyPorridge
Comment options

Answer selected by kdy1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants