Closed Manubi closed 2 years ago
Hello,
I've been out of the front end game for a while now to the point I hadn't even heard of vitejs. I have taken a look at this and it's more of a problem with dagre + vitejs.
Try adding ignoreTryCatch to you vite config file.
defineConfig({
...
build: {
commonjsOptions: {
ignoreTryCatch: false,
}
}
...
})
As detailed in this ticket https://github.com/vitejs/vite/issues/5759, and see if that gets you up and running.
Cheers Bob
Hi, I moved my project from create-react-app to vitejs. Now I am facing a strange problem... on localhost everything is working fine, but as soon as I deploy it I get the following error. Any ideas/help is appreciated!
Thanks