Follow

What does "wasm streaming compile failed" warning mean?

The "wasm streaming compile failed" warning can be caused by and related to different issues. 

 

You can encounter one of the following warnings: 

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

 These warnings refers 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. 

 

TypeError: Failed to execute 'compile' on 'WebAssembly': HTTP status code is not ok, falling back to ArrayBuffer instantiation

These warnings refers to streaming compilation that is not supported in some web browsers, so you are advised that this compile mechanism is not available. 

 

In all cases, 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 can't scan with your implementation, feel free contact us:

https://support.scandit.com/

Was this article helpful?
9 out of 21 found this helpful
Have more questions? Submit a request