In case somebody uses Vite: Vite seems to require some special CORS configuration to be able to read SharedBufferArray. A solution would be this: https://github.com/chaosprint/vite-plugin-cross-origin-isolation/issues/3 or this vite plugin: https://github.com/chaosprint/vite-plugin-cross-origin-isolation