Closed
Description
Version
nuxt-i18n: 6.13.5 (lower versions are fine)
nuxt: 2.13.3 (higher versions are fine)
Nuxt configuration
mode:
- universal
- [] spa
Nuxt-i18n configuration
["nuxt-i18n", {
differentDomains: true,
defaultLocale: config.LOCALE_DEFAULT,
locales,
parsePages: false,
pages,
vueI18n: {
fallbackLocale: config.LOCALE_FALLBACK,
silentFallbackWarn: true,
},
vueI18nLoader: true,
vuex: {
syncMessages: true,
syncLocale: true,
},
lazy: true,
langDir: 'locales/'
}],
Activity
rchl commentedon Aug 4, 2020
@coremyslo Can you post the
locales
object also?Or even complete configuration as I'm not sure what part of the configuration is the culprit.
coremyslo commentedon Aug 4, 2020
@rchl I also tried to remove things to see where is start to break. I've got something like this in the end.
UPDATE: actually even below fails with the same error
rchl commentedon Aug 4, 2020
Before I'm gonna do any further investigation, I'd like you to try delete
node_modules
, re-install dependencies and try again.I'm starting to think you might be hitting a caching issue nuxt/nuxt#7838 (which is gonna be fixed for next NuxtJS version).
coremyslo commentedon Aug 4, 2020
Deleted
yarn.lock
and removednode_modules
, calledyarn
andyarn dev
-> same issue.I'm just tried to create an empty project with
It still reproduces for me.
node v14.4.0
yarn v1.22.4
rchl commentedon Aug 4, 2020
OK, thanks. Actually yarn should be unaffected by that caching bug.
I've ignored the fact the you've mentioned that it happens in Nuxt v2.13.3 because I didn't use any new stuff from Nuxt v2.14.0 but yes, I can see it being broken in the older version. Will have a look.
coremyslo commentedon Aug 4, 2020
thanks.
fix: restore compatibility with Nuxt <2.14
fix: restore compatibility with Nuxt <2.14 (#830)
rchl commentedon Aug 4, 2020
Fix released in v6.13.6