not specified 'locales' argument.
nyszilard opened this issue · comments
System
- "vue-i18n": "^8.17.3",
- @vue/cli 4.5.10
- OS Windows 10
Default value by vue cli
"i18n:report": "vue-cli-service i18n:report --src './src/**/*.?(js|vue)' --locales './src/locales/**/*.json'"
In vue ui, when I run i18n:report task, I have this output:
$ vue-cli-service i18n:report --src ./src/**/*.{js,vue}" --locales "./src/locales/**/*.json
not specified 'locales' argument.
In package.json I have this for i18n:report entry:
"i18n:report": "vue-cli-service i18n:report --src \"./src/**/*.{js,vue}\" --locales \"./src/locales/**/*.json\""
I changed the value based on this #81 because I experienced the same problem.
So the #81 problem has gone, but here’s that problem now. (Works perfectly from terminal btw)
I have the same issue.
In my case it works:
npx vue-cli-service i18n:report --src "./src/**/*.?(js|vue)" --locales "./src/locales/**/*.json"
Solved with this (single quotes):
"vue-cli-service i18n:report --src './src/**/*.{js,vue}' --locales './src/locales/**/*.json'"