mosh-hamedani / issue-tracker

https://issue-tracker-pied.vercel.app
214 stars 99 forks source link

Got application error after deploy on vercel #12

Open DanielChen93 opened 6 months ago

DanielChen93 commented 6 months ago

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 2 months ago

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

  1. You need to make sure all your environment variables are there.
  2. You need to host your MySQL database somewhere & make sure you are not using localhost as your database connection URL.