I updated to next.js 15 and got an error.
agent-Y opened this issue · 1 comments
agent-Y commented
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.
mrblackoutz commented
I’m experiencing the same issue here. It was already mentioned in this issue: #72397.