deno
deno copied to clipboard
Next.js `next build` command fails on uncaught error in `ora`
error: Uncaught Error: write after end
at _write (ext:deno_node/_stream.mjs:3885:15)
at Writable.write (ext:deno_node/_stream.mjs:3898:14)
at Object.t.hide (file:///Users/divy/gh/my-app/node_modules/next/dist/compiled/ora/index.js:1:15893)
at Ora.start (file:///Users/divy/gh/my-app/node_modules/next/dist/compiled/ora/index.js:1:55852)
at createSpinner (file:///Users/divy/gh/my-app/node_modules/next/dist/build/spinner.js:77:12)
at file:///Users/divy/gh/my-app/node_modules/next/dist/build/index.js:1741:59
at eventLoopTick (ext:core/01_core.js:181:11)
at async Span.traceAsyncFn (file:///Users/divy/gh/my-app/node_modules/next/dist/trace/trace.js:147:20)
at async build (file:///Users/divy/gh/my-app/node_modules/next/dist/build/index.js:187:29)
at async main (file:///Users/divy/gh/my-app/node_modules/next/dist/bin/next:156:5)