Follow

What does "wasm streaming compile failed" warning mean?

Running the library on Chrome or Safari, you may have noticed the following error:

wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'., falling back to ArrayBuffer instantiation.

The warnings you get in the console refer to incorrect response MIME type of the wasm file. In order to fix it, please try to set the MIME filetype to application/wasm for the actual wasm file in your server config. 

 

This should not impact your ability to load the library and scanning as we fall back automatically to a different method when needed. 

 

However, if you still cannot scan with your implementation, feel free contact us:

https://support.scandit.com/

Was this article helpful?
6 out of 11 found this helpful
Have more questions? Submit a request