Created by Londo on 4/25/2024 in #❓・help
Custom directive stops working after upgrading from Vue 3.4.21 to 3.4.22
I have been having a really bad time with minor Vue version upgrades with my nuxt app. The most recent one is that after upgrading from 3.4.21 to anything newer results in all custom directives crashing with a "Cannot read properties of undefined (reading 'getSSRProps')" when loading the page with SSR. Now Google tells me this is typically due to the directive not being available in the server context, but I'm sure it is. And, as mentioned, it works fine with the previous minor version. Also, to make matters worse, this only occurs in a built docker image that I'm running in kubernetes, on my local development machine everything works fine, regardless of Vue version.
1 replies