Failed to collect page data for API route #78294
Replies: 2 comments
-
|
it boilded down to process.env not being available right away, I had code that was exposing a variable as singleton, when it was moved to the method call it worked. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
to expand on the solution, check on this issue in open auth anomalyco/openauth#254 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Deploying a nextjs App router application to cloudflare workers was working fine until I added API route.
Now I am getting the following error:
This is my API, a callback endpoint for auth
\src\app\api\callback\route.tsnote: the build succeeds locally, only fails in cloudflare
Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions