'vue)'' is not recognized as an internal or external command
See original GitHub issueSystem
- vuecli 4.1.2
- yarn 1.21.1
- OS Windows 10
Steps to reproduce
-
vue create -d -n repro
-
cd repro
-
vue add i18n
-
Setup with
- locale: en,
- fallback: en,
- localization directory: locales,
- enable locale on single file component: yes
-
yarn run i18n:report
Expected behavior
Scan files and report missing / unused localization
Actual Behavior
$ vue-cli-service i18n:report --src './src/**/*.?(js|vue)' --locales './src/locales/**/*.json' 'vue)'' is not recognized as an internal or external command, operable program or batch file. error Command failed with exit code 255. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:5 (1 by maintainers)
Top Results From Across the Web
'vue' is not recognized as an internal or external command
'vue' is not recognized as an internal or external command · 2. try uninstalling it and try npm install -g @vue/cli again, this...
Read more >'vue' is not recognized as an internal or external command on ...
I had the same issue. Here the quick fix. ... at least for me it's there. To use vue as command in cmd....
Read more >Vue-cli service is not recognized as an internal/external ...
Have a look at the /node_modules/.bin folder. You should find a file called vue-cli-service there, which is the executable to run. Does that ......
Read more >'vue' is not recognized as an internal or external command ...
'vue' is not recognized as an internal or external command, operable program or batch file. ... Then an error pops up: 'vue' is...
Read more >How to Solve vue Command not found on Windows - Technig
How to Solve Vue command not found ... In order to solve this problem, you should add the Vue path to your environment...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, that is the trick:
"vue-cli-service i18n:report --src \"./src/**/*.?(js|vue)\" --locales \"./src/locales/**/*.json\""
I solved this issue on Windows 10 as follows:
*.?(js|vue)
by*.{js,vue}
(i.e. curly-braces without leading question-mark).PS: It looks like (1) is sufficient, see this comment in #49.