I’m getting the following error whenever I create a new instance with
Uncaught (in promise) TypeError: Right-hand side of 'instanceof' is not callable at new re (vendor.896abb9e.js:12:10288)
The weird thing is that the error only happens when I run the project in produtction, when running in dev it works as expected. I’m using Vue and Vite if it’s of any use. I’ve searched everywhere but I could not find any similar errors, would anyone know why this is happening?
Many thanks in advanced, it’s driving me crazy.