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 cannot scan with your implementation, feel free contact us:
Was this article helpful?