-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CompileError using webpack: Missing mediainfo.wasm #32
Comments
Just tested the minified version being loaded from unpkg and looks like it works properly. But compiling fails when I import it from node_modules. |
The WASM loader tries to load When you're using a custom bundler build flow you need to make sure to copy Docs on using a JS bundler could be improved, I guess. |
Is it possible to load the wasm on a create-react-app project without needing to eject it? |
As long as create-react-app is able to serve the WASM file via HTTP you're good to go. Usually it's sufficient to drop the file in a |
@buzz thanks for the quick reply Just to clarify that I'm running on development mode I've tried a few things: I, then, copied both Also didn't work I feel that I'm missing something very silly here The error message:
|
I made it work loading from the CDN! thanks |
Hey there!
It seems like there is a bug. Here is what I'm getting when playing around with the library using create react app template:
That's how the lib is being imported:
Any suggestions? Thanks!
The text was updated successfully, but these errors were encountered: