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.

Warn You are running the esm-bundler build of vue-i18n.

See original GitHub issue

Module versions:

  • Vue CLI: 4.5.11
  • vue-cli-plugin-i18n: 2.0.0

To Reproduce

  1. Run vue create project (select Default (Vue 3 Preview) ([Vue 3] babel, eslint))
  2. Run vue add i18n
  3. Run npm run serve

Expected behavior This warning should be able to be removed by setting plugin options.

Screenshots Screen Shot 2564-03-11 at 03 02 47

Additional context It seems that the problem is the __INTLIFY_PROD_DEVTOOLS__ flag is missing.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:29 (5 by maintainers)

github_iconTop GitHub Comments

22reactions
Psycarlocommented, Dec 2, 2021

I am using version 9.2.0-beta.22 and still get this message

15reactions
dajpescommented, Mar 23, 2022

Hey @kazupon any update on this?

This conditional is causing me the warning using vue 3:

  if ((process.env.NODE_ENV !== 'production') && typeof true === 'boolean') {
        getGlobalThis().__INTLIFY_PROD_DEVTOOLS__ = false;
        needWarn = true;
    }
Read more comments on GitHub >

github_iconTop Results From Across the Web

You are running the esm-bundler build of vue-i18n. It ... - GitHub
I have created an app with vue 3.2 and added vue-i18n. and i get the following warning in the browser console: You are...
Read more >
You are running the esm-bundler build of vue-i18n. It is ...
Now i am using this way to import the i18n, the warning is disapear import { createI18n } from 'vue-i18n/index'.
Read more >
Optimization - Vue I18n - Intlify
Quasar CLI takes care of the optimizations for you. Reduce bundle size with feature build flags #. The esm-bundler builds now exposes global ......
Read more >
[Solved]-You are running the esm-bundler build of vue-i18n. It ...
[Solved]-You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with-Vue.js.
Read more >
The Ultimate Vue Localization Guide | Phrase
Note » When developing with Vue I18n, you might get a warning in your browser console that says, “You are running the esm-bundler...
Read more >

github_iconTop Related Medium Post

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