nuxt-modules / color-mode

Dark and Light mode with auto detection made easy with Nuxt 🌗
https://color-mode.nuxtjs.org
MIT License
1.07k stars 98 forks source link

TypeError: Mt.getColorScheme #267

Open moshetanzer opened 2 months ago

moshetanzer commented 2 months ago

Version

@nuxtjs/color-mode: nuxt:

Reproduction Link

Steps to reproduce

Nuxt (latest), Nuxt UI Pro (latest)

What is Expected?

Page to work.

What is actually happening?

As soon as page is hydrated it shows a 404 error in production only.

[nuxt] error caught during app initialization TypeError: Mt.getColorScheme is not a function at w6iphiSl.js:39:757 at w6iphiSl.js:24:20608 at Object.runWithContext (w6iphiSl.js:14:19608) at O (w6iphiSl.js:24:19728) at w6iphiSl.js:24:20602 at Array.forEach () at N (w6iphiSl.js:24:20591) at w6iphiSl.js:24:19544 at async w6iphiSl.js:24:37454 at async tf (w6iphiSl.js:49:64408)