I18n-module: Error: Can't resolve 'klona/full' in '/data/fe_project/node_modules/.cache/nuxt/nuxt-i18n'

Created on 11 Dec 2020  ·  2Comments  ·  Source: nuxt-community/i18n-module

Version

nuxt-i18n: 6.15.4
nuxt: 2.14.5

Hello everyone,

I'm getting this error while building, can you please help?

[ERROR]    - ERROR in ./node_modules/.cache/nuxt/nuxt-i18n/plugin.main.js
[ERROR]    - Module not found: Error: Can't resolve 'klona/full' in '/data/fe_project/node_modules/.cache/nuxt/nuxt-i18n'
[ERROR]    -  @ ./node_modules/.cache/nuxt/nuxt-i18n/plugin.main.js 7:0-35 324:80-85
[ERROR]    -  @ ./node_modules/.cache/nuxt/index.js
[ERROR]    -  @ ./node_modules/.cache/nuxt/client.js
[ERROR]    -  @ multi ./node_modules/@nuxt/components/lib/installComponents.js ./node_modules/url-polyfill/url-polyfill.min.js ./node_modules/.cache/nuxt/client.js
question❓

Most helpful comment

klona was introduced in 6.16.0 and you are saying you are using 6.15.4 so I don't get that.

Maybe delete that /data/fe_project/node_modules/.cache directory and try again.

All 2 comments

klona was introduced in 6.16.0 and you are saying you are using 6.15.4 so I don't get that.

Maybe delete that /data/fe_project/node_modules/.cache directory and try again.

problem is solved, thank you.

Was this page helpful?
0 / 5 - 0 ratings