Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown option --detect #219

Open
FAbrahamDev opened this issue Oct 17, 2024 · 0 comments
Open

Unknown option --detect #219

FAbrahamDev opened this issue Oct 17, 2024 · 0 comments

Comments

@FAbrahamDev
Copy link

Tested various location for detect and spelling and i always get this error when using the cli.

Command:
vue-i18n-extract report --detect "missing" --vueFiles "./src/**/*.?(js|vue)" --languageFiles "./src/locales/*.?(json|yml|yaml)"

[vue-i18n-extract] CACError: Unknown option `--detect`
    at Command.checkUnknownOptions (frontend\node_modules\.pnpm\cac@6.7.14\node_modules\cac\dist\index.js:404:17)
    at CAC.runMatchedCommand (frontend\node_modules\.pnpm\cac@6.7.14\node_modules\cac\dist\index.js:602:13)
    at CAC.parse (frontend\node_modules\.pnpm\cac@6.7.14\node_modules\cac\dist\index.js:541:12)
    at Object.<anonymous> (frontend\node_modules\.pnpm\vue-i18n-extract@2.0.7\node_modules\vue-i18n-extract\bin\vue-i18n-extract.js:56:5)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
    at Module.load (node:internal/modules/cjs/loader:1207:32)
    at Module._load (node:internal/modules/cjs/loader:1023:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
    at node:internal/main/run_main_module:28:49
 ELIFECYCLE  Command failed with exit code 1.

Also tried --detect missing and in different locations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant