Got application error after deploy on vercel
Opened this issue · 1 comments
DanielChen93 commented
After I deploy issue-tracker on vercel, when I keep refreshing on list page/ issue detail page, I will get an error
Application error: a client-side exception has occurred (see the browser console for more information).
Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.
this error does not happed when I run npm run dev
or npm run start
notedwin-dev commented
After I deploy issue-tracker on vercel, when I keep refreshing on list page/ issue detail page, I will get an error
Application error: a client-side exception has occurred (see the browser console for more information).
Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.
this error does not happed when I run
npm run dev
ornpm run start
- You need to make sure all your environment variables are there.
- You need to host your MySQL database somewhere & make sure you are not using localhost as your database connection URL.