-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read property 'push' of undefined #91
Comments
Please don't use |
But I need it for translations: https://github.com/maevsi/maevsi/blob/946848c33a2452b9a44de389e4a4864fa70cf8e9/nuxt/nuxt.config.js#L163 😪 |
Even before this commit it should not work: https://github.com/nuxt-community/color-mode-module/pull/85/files#diff-c3a1f4f22d1c26a96e0e94646ca95379288ce182d579bc813c2b3d591a8dbfe8R14 Will try something |
Thanks for fixing this so quickly! <3 |
Version
@nuxtjs/color-mode: v2.0.7 or newer (currently: v2.0.9)
nuxt: v2.15.6
Since https://github.com/nuxt-community/color-mode-module/pull/85/files#diff-c3a1f4f22d1c26a96e0e94646ca95379288ce182d579bc813c2b3d591a8dbfe8R14 I receive the error "Cannot read property 'push' of undefined" as
ctx.app.head
is a function (at least in my configuration) and thus has no propertyscript
.The text was updated successfully, but these errors were encountered: