SupabaseS
Supabase11mo ago
heet

Serverside type error

I am using react + nextjs as my tech stack. After successfully building my application, when I run the project using pnpm run start, it works fine initially. However, when I interact with Supabase through front-end, I encounter the error shown in the attached image, which causes the application to crash. Strangely, if I refresh the page, the application starts working again.

I am unsure why this issue occurs. From the error message, I can see that it is a type-related error, but I do not know how to debug it, as it appears to be a server-side issue. My client-side build is functioning correctly. Moreover, this error does not consistently appear after following specific steps or making particular changes, making it difficult to debug or reproduce the issue.
image.png
Was this page helpful?