Skip to content
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

Nuxt@2.15.0 error - Cannot read property 'options' of undefined #1063

Closed
1 task done
DamianGlowala opened this issue Feb 15, 2021 · 1 comment · Fixed by #1064 or hisan92/hisan.me#119
Closed
1 task done
Labels

Comments

@DamianGlowala
Copy link
Contributor

Version

nuxt-i18n: 6.20.0
nuxt: 2.15.0

Nuxt configuration

mode:

  • universal

Nuxt-i18n configuration

i18n: {
        locales: [...],
        defaultLocale: "en",
        vueI18nLoader: true
    }

What is Expected?

Not sure where the issue lies and what could have changed since the previous version of Nuxt, but the description of the issue should be self explanatory about what is failing and where.

What is actually happening?

Error when running npm run dev for Nuxt:
image

Result of console.log(config.module.rules) above failing line;
image

hooks.js logic which is looking for vue-loader when on the screenshot above there is an absolute path not equal to but including vue-loader:
image

@rchl
Copy link
Collaborator

rchl commented Feb 15, 2021

Fix released in https://github.com/nuxt-community/i18n-module/releases/tag/v6.20.1.
Thanks for reporting.

This was referenced Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment