Kasier
Kasier
CDCloudflare Developers
Created by Kasier on 9/30/2024 in #pages-help
Maximum call stack size exceeded
Hi all, I've been working moving an Nextjs app from Azure to CF Pages, keep getting this error with very little information causing it.
✘ [ERROR] A hanging Promise was canceled. This happens when the worker runtime is waiting for a Promise from JavaScript to resolve, but has detected that the Promise cannot possibly ever resolve because all code and events related to the Promise's I/O context have already finished.

✘ [ERROR] Uncaught RangeError: Maximum call stack size exceeded

"stack": " at Reflect.get (<anonymous>)\n at Object.get (.vercel/output/static/_worker.js/index.js:40:104824)\n at Reflect.get (<anonymous>)\n at Object.get (.vercel/output/static/_worker.js/index.js:40:104824)\n at Reflect.get (<anonymous>)\n at Object.get (.vercel/output/static/_worker.js/index.js:40:104824)\n at Reflect.get (<anonymous>)\n at Object.get (.vercel/output/static/_worker.js/index.js:40:104824)\n at Reflect.get (<anonymous>)\n at Object.get (.vercel/output/static/_worker.js/index.js:40:104824)"
✘ [ERROR] A hanging Promise was canceled. This happens when the worker runtime is waiting for a Promise from JavaScript to resolve, but has detected that the Promise cannot possibly ever resolve because all code and events related to the Promise's I/O context have already finished.

✘ [ERROR] Uncaught RangeError: Maximum call stack size exceeded

"stack": " at Reflect.get (<anonymous>)\n at Object.get (.vercel/output/static/_worker.js/index.js:40:104824)\n at Reflect.get (<anonymous>)\n at Object.get (.vercel/output/static/_worker.js/index.js:40:104824)\n at Reflect.get (<anonymous>)\n at Object.get (.vercel/output/static/_worker.js/index.js:40:104824)\n at Reflect.get (<anonymous>)\n at Object.get (.vercel/output/static/_worker.js/index.js:40:104824)\n at Reflect.get (<anonymous>)\n at Object.get (.vercel/output/static/_worker.js/index.js:40:104824)"
Kinda stumped, runs when using next dev, but i get the error if i run wrangler pages dev or deploy it.
1 replies