Skip to content

Instantly share code, notes, and snippets.

@alexkubica
Last active August 31, 2024 11:50
Show Gist options
  • Save alexkubica/6127d1e3b43683aaec4d06dd56d080d8 to your computer and use it in GitHub Desktop.
Save alexkubica/6127d1e3b43683aaec4d06dd56d080d8 to your computer and use it in GitHub Desktop.
next.js ffmpeg.wasm build error
[13:15:10.281] Running build in Washington, D.C., USA (East) – iad1
[13:15:10.442] Cloning github.com/alexkubica/chimp.fun (Branch: main, Commit: f348206)
[13:15:10.976] Cloning completed: 533.258ms
[13:15:13.390] Restored build cache
[13:15:13.493] Running "vercel build"
[13:15:13.992] Vercel CLI 37.1.2
[13:15:14.395] Installing dependencies...
[13:15:16.165]
[13:15:16.166] added 12 packages, and removed 6 packages in 2s
[13:15:16.166]
[13:15:16.166] 137 packages are looking for funding
[13:15:16.166] run `npm fund` for details
[13:15:16.181] Detected Next.js version: 14.2.7
[13:15:16.185] Running "npm run build"
[13:15:16.333]
[13:15:16.334] > [email protected] build
[13:15:16.334] > next build
[13:15:16.335]
[13:15:17.023] ▲ Next.js 14.2.7
[13:15:17.024]
[13:15:17.093] Creating an optimized production build ...
[13:15:28.906] ✓ Compiled successfully
[13:15:28.907] Linting and checking validity of types ...
[13:15:33.107] Collecting page data ...
[13:15:34.394] Generating static pages (0/6) ...
[13:15:34.482] Generating static pages (1/6)
[13:15:34.498] Generating static pages (2/6)
[13:15:34.707] Generating static pages (4/6)
[13:15:34.749] Error: ffmpeg.wasm does not support nodejs
[13:15:34.750] at new s (/vercel/path0/.next/server/app/page.js:1:2551)
[13:15:34.750] at 2288 (/vercel/path0/.next/server/app/page.js:1:3293)
[13:15:34.750] at Object.t [as require] (/vercel/path0/.next/server/webpack-runtime.js:1:127)
[13:15:34.750] at require (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:16:18490)
[13:15:34.750] at I (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:94362)
[13:15:34.750] at /vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:96668
[13:15:34.750] at F._fromJSON (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:97106)
[13:15:34.750] at JSON.parse (<anonymous>)
[13:15:34.750] at O (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:94083)
[13:15:34.750] at t (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:100582) {
[13:15:34.750] digest: '2300914688'
[13:15:34.750] }
[13:15:34.767]
[13:15:34.768] Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
[13:15:34.768]
[13:15:34.768] Error: ffmpeg.wasm does not support nodejs
[13:15:34.768] at new s (/vercel/path0/.next/server/app/page.js:1:2551)
[13:15:34.768] at 2288 (/vercel/path0/.next/server/app/page.js:1:3293)
[13:15:34.768] at Object.t [as require] (/vercel/path0/.next/server/webpack-runtime.js:1:127)
[13:15:34.768] at require (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:16:18490)
[13:15:34.768] at I (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:94362)
[13:15:34.768] at /vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:96668
[13:15:34.768] at F._fromJSON (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:97106)
[13:15:34.768] at JSON.parse (<anonymous>)
[13:15:34.768] at O (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:94083)
[13:15:34.768] at t (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:100582)
[13:15:34.769] ✓ Generating static pages (6/6)
[13:15:34.782]
[13:15:34.782] > Export encountered errors on following paths:
[13:15:34.782] /page: /
[13:15:34.811] Error: Command "npm run build" exited with 1
[13:15:36.318]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment