Update to v5.5.22: Console errors

Hey!
I updated from v5.5.21 to v5.5.22. Now IN isn’t loading anymore, I get a grey screen of death.
Nothing in the log file, but it’s probably related to these errors in the console:

main.foss.dart.js,qv…kiVRs2Wgb3.js:72015 Flutter Web Bootstrap: Auto
canvaskit.js:258 wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.
canvaskit.js:258 falling back to ArrayBuffer instantiation
2
flutter_service_worker.js?v=5.5.22:1 Uncaught (in promise) DOMException: Cache.put() encountered a network error
canvaskit.js:159 Aborted(both async and sync fetching of the wasm failed)
canvaskit.js:257 failed to asynchronously prepare wasm: RuntimeError: Aborted(both async and sync fetching of the wasm failed). Build with -sASSERTIONS for more info.
canvaskit.js:159 Aborted(RuntimeError: Aborted(both async and sync fetching of the wasm failed). Build with -sASSERTIONS for more info.)
canvaskit.js:159 Uncaught (in promise) RuntimeError: Aborted(both async and sync fetching of the wasm failed). Build with -sASSERTIONS for more info.
    at Pa (canvaskit.js:159:75)
    at Bb (canvaskit.js:159:480)
    at canvaskit.js:160:259

I can replicate that in three different browsers.
Is this a bug or an issue on my end?

Thanks and best

Hi,

Which version did you upgrade from?

Are there any errors in the network tab?

Hi @hillel

No errors in the network tab.

Can you try commenting out this line of code in resources/views/index/index.blade.php

canvasKitBaseUrl: "{{ $canvas_path }}/canvaskit/"

It seems to work again in v5.5.23-W93, I just installied it over v5.5.22.
Thanks!

Glad to hear it, thanks for the update!

1 Like