In my Nuxt3-Vue3-Vuetify3 website, only in production mode the site is not initialised sometimes on the initial pageload. It is not always happening, but when it happens, I get this error message from one of the auto-generated Nuxt files:
Uncaught TypeError: Cannot read properties of undefined (reading 'baseURL')
The error message is pointing to one of the minified files, to a row like this:
Y0 = ()=>Is.baseUR
I have tried to reproduce the error in local but it never happens there, so I’m not sure that where is it coming from, none of my components includes “baseURL” property anywhere. Does anyone know how to figure out the source of the error and how to fix it?