Trying to load a npm module (Ruffle - Using Ruffle · ruffle-rs/ruffle Wiki · GitHub ) throws an error:
ChunkLoadError: Loading chunk 966 failed.
(error: https://observablehq.com/@atiro/core.ruffle.14afbe2b2ea587f28d56.js)
I think I’m pushing things probably trying to load this emulator within a notebook, but any obvious fixes ?
Thanks
Fil
January 16, 2022, 5:25pm
2
I’ve sent you a suggestion to load the wasm file. It seems to be working but I can’t confirm while the swf file is missing.
I’ve created an example here:
3 Likes
Fil
January 16, 2022, 5:32pm
4
for comparison, my suggestion is here Leonardo Canal Challenge / Fil / Observable ; I didn’t know of ruffle-mirror, which seems to be better than my fiddling with the config.
1 Like
I’ve updated my notebook to include a splash screen and download progress, implemented via XMLHttpRequest
.
2 Likes