SolidJSS
SolidJSβ€’2y agoβ€’
6 replies
KiaClouth

Incorrect response MIME type. Expected 'application/wasm'.

The browser console reports an error: wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.
I am using SolidStart to set up a local-first project. I found electric-sql and am now using its wa-sqlite, which involves wasm. I might need to modify the MIME type, but I am not sure where to configure it.
Was this page helpful?