Next JS Module With wasm File and Module Not Found Error
I'm trying to run code from an npm library called
opencascade
. I installed it using npm install opencascade.js@beta
When trying to run it I get a weird error
This seems to have something to do with a .wasm
file in the node-modules. I haven't before used a .wasm
file.
The same module loads and works alright in a normal react application which is not a next js application0 Replies