Closed getFrontend closed 7 months ago
install it by npm i -g @sentry/react
Unfortunately the global installation of Sentry dependencies did not help. Searching for a solution on the Internet showed that it may be related specifically to bugs in the Vite builder itself.
A specific working solution for me was: temporarily commenting out sentryVitePlugin
in vite.config.js
plugins: [
react(),
// sentryVitePlugin({
// org: "seoromeo",
// project: "javascript-react",
// }),
]
After that the server restarted successfully, I uncommented the strings and everything worked on localhost.
No problems were encountered when deploing on Vercel, which is pleasing 😎
I did everything correctly until I restarted the server and the error started to appear: