I use Vuetify for a project. On localhost, everything works well. When i run pnpm build, and upload the dist to the server, there I have the following error: TypeError: WeakMap keys must be objects or non-registered symbols
I figured out, that this error is linked to the v-select ponent. If i delete the v-select ponent, there is no error. does anyone have an idea what is the error?
I use Vuetify for a project. On localhost, everything works well. When i run pnpm build, and upload the dist to the server, there I have the following error: TypeError: WeakMap keys must be objects or non-registered symbols
I figured out, that this error is linked to the v-select ponent. If i delete the v-select ponent, there is no error. does anyone have an idea what is the error?
Share asked Oct 26, 2023 at 15:03 PeterPeter 7712 gold badges16 silver badges43 bronze badges 4- Please post a minimal reproducible example. You can use a Stack Snippet to make it executable. – Barmar Commented Oct 26, 2023 at 16:19
- Do you have an update on this issue? We are experiencing it as well in our production environment, it happens spontaneously. Never seen it in a development build, few time locally on a production build. We use Nuxt3 with Vuetify, Sentry gives a trace related to VOverlay. – RiesvGeffen Commented Nov 10, 2023 at 14:45
- @RiesvGeffen I figured out, that this error happens only in Safari. I have still no idea... – Peter Commented Nov 11, 2023 at 7:11
- @Peter, it mainly happens on Safari, but we've seen it happen in Chrome twice. Does it happen consistently for you? Any chance you can make a reproduction? Cause then it would be nice to open an issue in the Vuetify repo. The setup we have it doesn't happen consistently, so it's hard (impossible so far) to create a reproduction snippet. – RiesvGeffen Commented Nov 13, 2023 at 8:41
1 Answer
Reset to default 13try to off extensions in your browser like "dark reader", "ad-blocker" and so on. this helped in my situation