vue-i18n-extract icon indicating copy to clipboard operation
vue-i18n-extract copied to clipboard

CACError: Unknown option `--emptyTranslation=en`

Open mahnunchik opened this issue 3 years ago • 1 comments

I've faced with the following error:

[vue-i18n-extract] CACError: Unknown option `--emptyTranslation=en`

Command:

vue-i18n-extract report --add=true --no-empty-translation="en" --vueFiles './src/**/*.?(js|vue)' --languageFiles './locales/*.json'

Camel cased option works as expected:

--noEmptyTranslation="en"
node -v
v16.18.1
[email protected]
[email protected]
[email protected]

mahnunchik avatar Dec 02 '22 15:12 mahnunchik

Try to use --noEmptyTranslation en instead.

dam1r89 avatar Sep 16 '24 15:09 dam1r89