question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dependency not found klona/full

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:22

github_iconTop GitHub Comments

5reactions
pi0commented, Dec 22, 2020

Hi @rchl. You can resolve full path of klona on behalf of module for exact version that requires:

nuxt.options.alias['klona'] = require.resolve('klona/lite')
// Alt: nuxt.options.alias['~i18n-klona'] = require.resolve('klona/lite')

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dependency not found klona/full · Issue #1004 · nuxt-modules ...
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.
Read more >
Maven dependency not found - Stack Overflow
I think the problem is not IntelliJ, I think maven can not download the dependencies, so you can try to force the dependencies...
Read more >
Maven dependencies | IntelliJ IDEA Documentation - JetBrains
IntelliJ IDEA lets you manage Maven dependencies in your project. You can add, import Maven dependencies, view them in the diagram, ...
Read more >
Maven – Optional Dependencies and Dependency Exclusions
If a user wants to use functionality related to an optional dependency, they have to redeclare that optional dependency in their own project....
Read more >
Learning the Basics - Gradle User Manual
Gradle exposes an API to declare what a repository may or may not contain. There are different use cases for it: performance, when...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found