-
Notifications
You must be signed in to change notification settings - Fork 581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application error: a client-side exception has occurred - came in vercel production #38
Comments
Hi bro, I have the same issue when I run production locally. Do you have any solution? I appreciate any help you can provide. |
Hi bro, I have the same issue when I run production both on vercel and locally. Do you have any solution? I appreciate any help you can provide. |
@BennyLWK @giriyaram |
Here is the solution, go to your page.tsx and use dynamic imports to import the RecentProjects and Grid components. const RecentProjects = dynamic(() => import("../components/RecentProjects"), { const Grid = dynamic(() => import("../components/Grid"), { Here's what the final code will look like.
|
@BennyLWK @devkobby24 @giriyaram Have u guys solved this? If u figured it out please tell me, thanks! |
i had to disable the react annotations in the installation of sentry to make it work |
Any side effect after u doing this? |
I didn't get the error anymore |
Thanks! Will try this |
Sure thing! |
Bro can you share ur repo please? I delete all code related to "sentry" but it still pops this error.... @devkobby24 |
Cannot read properties of undefined (reading 'sentry')
The text was updated successfully, but these errors were encountered: