Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffmpeg.wasm Unhandled Runtime Error ReferenceError: SharedArrayBuffer is not defined #1

Open
PacoH opened this issue Oct 3, 2022 · 1 comment

Comments

@PacoH
Copy link

PacoH commented Oct 3, 2022

After many false starts, following your incomplete install instructions (you omitted cd gif-maker), installing the latest brew version of node and fixing all the npm issues, I finally was able to run the development server. When I did I got this error in Chrome 106.0.5249.91:

Unhandled Runtime Error
ReferenceError: SharedArrayBuffer is not defined

Call Stack
<unknown>
http://localhost:3000/0324b1d2-66ef-44f9-bad1-f81470adc953 (22:175)
Object.load
node_modules/@ffmpeg/ffmpeg/src/createFFmpeg.js (64:0)

If I can't fix this I give up.

@pinguluk
Copy link

pinguluk commented Sep 30, 2024

Workaround is to download
https://github.com/gzuidhof/coi-serviceworker
and put the file in the public folder
and add a reference in the Head component

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants