NuxtN
Nuxt2mo ago
4 replies
dmarr

@nuxtjs/color-mode@4.0.0 causing issues

I recently updgraded nuxt and color-mode module in my shared layer. Now, when I try to run my app that extends the layer, things are not working. It's a tough one to explain, but I get an error when I try to run a test for example:
[nuxt] error caught during app initialization TypeError: Cannot read properties of undefined (reading 'preference')
    at /Users/david.marr/src/my-nuxt-app/node_modules/@nuxtjs/color-mode/dist/runtime/plugin.client.js:19:24
Was this page helpful?