i18n: Dependency not found klona/full
Version
nuxt-i18n: 6.16.0 nuxt: 2.14.12
Nuxt configuration
mode:
- universal
- spa
Steps to reproduce
Upgrade or install nuxt-i18n.
What is Expected?
The lib is expected to work.
What is actually happening?
It doesn’t… (See the issue’s title)
This dependency was not found:
* klona/full in ./.nuxt/nuxt-i18n/plugin.main.js
To install it, you can run: npm install --save klona/full
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 22
Commits related to this issue
- Move klona to peerDependencies A fix for #1004 — committed to divine/i18n-module by divine 4 years ago
- fix: use local klona dependency from the plugin Resolves #1004 — committed to nuxt-modules/i18n by rchl 3 years ago
- fix: use local klona dependency from the plugin (#1008) Resolves #1004 — committed to nuxt-modules/i18n by rchl 3 years ago
Hi @rchl. You can resolve full path of klona on behalf of module for exact version that requires:
For a longer answer, I’m compiling runtime instead of emitting as plugin template for image and auth modules and adding this pattern with new module template and nuxt/kit. This resolves implicit dependency issues as well as making runtime lintable/typed.
https://github.com/nuxt-community/i18n-module/issues/994