vue-cli-plugin-i18n
vue-cli-plugin-i18n copied to clipboard
TypeError: i18nExtract.logI18NReport is not a function
latest dependency vue-i18n-extract doesn't have logI18NReport . Running i18n:report will cause error:
ERROR TypeError: i18nExtract.logI18NReport is not a function
this can be fixed using npm install [email protected]
specific 1.0.2 version not the latest one.
Need changes to support latest version vue-i18n-extract.
I have the same issue. Installed with vue add i18n
with Vue 3 cli.
it creates this command automatically in package.json
"i18n:report": "vue-cli-service i18n:report --src \"./src/**/*.?(js|vue)\" --locales \"./src/locales/**/*.json\"",
when trying to run this command, this error happens.
TypeError: i18nExtract.logI18NReport is not a function
What should be done additionally to make it work?
I'm facing the same issue as well. Is there any update we should make to fix the issue? PS: I have the latest version
└─ [email protected]
2.3.1 works too. It's the vue-i18n-extract upgrade that causing this.