ffmpegwasm / ffmpegwasm/ffmpeg.wasm

I updated to next.js 15 and got an error.

Open
#793 13 comments 9 reactions 0 assignees View on GitHub
Dominant language
C
Stars
17.8k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

I get error at ` await ffmpeg.load();`

```
Build Error
Next.js (15.0.1) out of date (learn more) (Turbopack)
Failed to compile

./node_modules/@ffmpeg/ffmpeg/dist/esm/classes.js:104:28
Module not found
102 | if (!this.#worker) {
103 | this.#worker = classWorkerURL ?
> 104 | new Worker(new URL(classWorkerURL, import.meta.url), {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
105 | type: "module",
106 | }) :
107 | // We need to duplicated the code here to enable webpack

https://nextjs.org/docs/messages/module-not-found
This error occurred during the build process and can only be dismissed by fixing the error.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.