-
-
Notifications
You must be signed in to change notification settings - Fork 877
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
svelte demo broke #708
Comments
Same here. A solution is to comment out this line However, when you solve this one, there will be another error when you try to use
Struggling for a moment, I found you should use the other adapter instead of adapter-auto, otherwise, you could downgrade the Vite version to 4 from 5. I'm really frustrated, why does an example not work out of box... |
facing the same issue |
I can't get it to work either... i have tried many versions but sadly, nothing seems to work 👎 |
Ah yes, if I use esm mode I can see that error:
This is available in my fork of the demo: stylehouse@72bb1fb
Error 44 is widely used, here it seems we may not mkdir /tmp, nor /home, /dev/urandom|shm, /proc, but it may not matter?
So it seems you can follow messages into the worker with the debugger! Again, does this look right? One moment before Still, this demo gets further than my original use for ffmpeg.wasm: https://github.com/stylehouse/bitzliten/commits/main/ which throws a "ReferenceError: SharedArrayBuffer is not defined", even when I've gone into Seems to all go the same if I downgrade vite to 4.5.3 and 4.2.3 Can anyone else find their way as above? Thanks. |
Hello everyone! I was the one happily contributing with the Svelte demo, but now very sorry for the frustration it may have caused... @stylehouse (or anyone) could you please try the following steps:
I have just removed my Note It's important to run fyi, I'm using: M1; installed node with nvm; node v18.19.1; npm 10.2.4; |
Aha. I tried node 18.19 on a fresh debian:latest container and code checkout and it all goes the same. My I can then get it to convert to mp4! From avi. Anyway... So maybe these are needed: So perhaps it could detect and warn about a variety of things,
But not do:
Anyway, Great stuff! |
if you get the
|
cheers, they fixed it in 5.2.8 stylehouse/bitzliten@85dbf74 |
Describe the bug
On page load, node says this a lot:
I do have type:module as it says.
Has this ever come up before?
To Reproduce
clone this repo, cd apps/sveltekit-app, and:
Browse (http error 500)
Expected behavior
A clear and concise demo.
Desktop (please complete the following information):
Additional context
I'm trying to build a thing with this that had this problem too. I feel like something in this commit fixed it? stylehouse/bitzliten@a02faa8
Sorry for not knowing more esm|umd|teenage-javascript-
While you're at it maybe you could look at that too... The next problem I have now is why the worker seems to say
"Error: failed to import ffmpeg-core.js" during await ffmpeg.load(...), but I have no idea how to debug that. Is there another devtools per worker?
Also this page has a broken link to the svelte demo: https://ffmpegwasm.netlify.app/docs/getting-started/examples
Also I would expect to be able to easily compile an ffmpeg.wasm myself and omit features I don't need. I see this down the end of https://ffmpegwasm.netlify.app/docs/faq but it looks pretty nuts.
The text was updated successfully, but these errors were encountered: