-
Notifications
You must be signed in to change notification settings - Fork 75
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
kalk-component: Failed to execute 'compile' on 'WebAssembly' #91
Comments
Hmm that's strange. Perhaps something you're using doesn't support WebAssembly? What bundler are you using? |
I've not installed any bundler, there should only be a Tauri Bundler for the Rust side of the app (at least that's what I understood reading the documentation). |
I've looked for help on the Tauri community and they sent me what should be a list of mime types: If yours is not in the list I can file an issue on their side. Also: do I need Webpack and Svelte to use the module? |
Aha I see. I guess missing support for the mime type could be it, since I haven't seen that error in other situations. You shouldn't need Webpack or Svelte to use the module. The website (kalker.xyz) doesn't use anything like that! The library should basically just provide a regular web component. |
Apparently there are ways to import the .wasm that do not check for the mime type: https://stackoverflow.com/a/52732108/14065064 If you considered applying that change it would be great. |
Hello,
I'm trying to include the Kalk web component in a Tauri app with a React front-end. However, I keep getting the following error, which comes directly from the component
bundle.js
:That's how I included Kalk:
My project.json looks like that
Your work is really cool and I'd really like to use it in my project.
The text was updated successfully, but these errors were encountered: