Error: Some functionality, such as asynchronous I/O, timeouts, and generating random values,...

"Error: Some functionality, such as asynchronous I/O, timeouts, and generating random values, can only be performed while handling a request.\n    at g.fetch (__next-on-pages-dist__/chunks/411.js:2:4658)\n    at k.fetch (__next-on-pages-dist__/chunks/411.js:7:14205)\n    at k.fetchJSON (__next-on-pages-dist__/chunks/411.js:7:14647)\n    at get locationUrl [as locationUrl] (__next-on-pages-dist__/chunks/411.js:7:17751)\n    at get locationUrl [as locationUrl] (__next-on-pages-dist__/chunks/411.js:7:15116)\n    at Et.getLogInUrl (__next-on-pages-dist__/chunks/411.js:7:11828)\n    at Et.authenticate (__next-on-pages-dist__/chunks/411.js:7:11080)\n    at b.logIn (__next-on-pages-dist__/chunks/411.js:7:16697)\n    at new Ur (__next-on-pages-dist__/chunks/568.js:348:52621)\n    at get instance [as instance] (__next-on-pages-dist__/chunks/568.js:348:52735)"


Runs fine on local deployment with edge configurations, i'm not quite sure why i'm encountering this error with cloudflare pages.
Was this page helpful?
Error: Some functionality, such as asynchronous I/O, timeouts, and generating random values,... - Cloudflare Developers