R
Railway15mo ago
Oren

Next.js with bun fails to deploy

#12 21.93 Collecting page data... #12 22.96 360 | var keys = Object.keys(add), i = keys.length; #12 22.96 361 | while (i--) #12 22.96 362 | origin[keys[i]] = add[keys[i]]; #12 22.96 363 | return origin; #12 22.96 364 | #12 22.96 365 | }, kCustomPromisifiedSymbol = Symbol.for("util.promisify.custom"), promisify = function promisify2(original) { #12 22.96 ^ #12 22.96 TypeError: The "original" argument must be of type Function #12 22.96 at promisify2 (node:util:365:196) #12 22.96 at 11715 (/app/.next/server/chunks/790.js:1:211328) #12 22.96 at t (/app/.next/server/webpack-runtime.js:1:122) #12 22.96 at 75337 (/app/.next/server/chunks/790.js:1:190599) #12 22.96 at t (/app/.next/server/webpack-runtime.js:1:122) #12 22.96 at 48634 (/app/.next/server/chunks/790.js:1:150852) #12 22.96 at t (/app/.next/server/webpack-runtime.js:1:122) #12 22.96 at 14846 (/app/.next/server/chunks/790.js:1:149473) #12 22.96 at t (/app/.next/server/webpack-runtime.js:1:122) #12 22.96 at 29003 (/app/.next/server/chunks/790.js:1:145751) #12 22.96 #12 22.97 #12 22.97 > Build error occurred #12 22.97 error: Failed to collect page data for /api/auth/callback #12 22.97 at /app/node_modules/next/dist/compiled/jest-worker/index.js:1:1221 #12 22.97 #12 23.13 error: script "build" exited with code 1 (SIGHUP) #12 ERROR: process "/bin/bash -ol pipefail -c bun run build" did not complete successfully: exit code: 1
2 Replies
Percy
Percy15mo ago
Project ID: f8a0275c-4c0e-4cf4-a052-0e5c95759b43
Oren
OrenOP15mo ago
f8a0275c-4c0e-4cf4-a052-0e5c95759b43
Want results from more Discord servers?
Add your server