-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Vue ui fails to create locales directories #6784
Comments
I have the same exact problem, Vue ui keeps crashing, and clearly there is something wrong with the latest CLI. I starting to give up on Vue before even getting to work with it 😤 |
same problem,I try other version but the result was same,can't create project and import project (manually create "locales" folder in every error path can fix it,but this is not a long-term solution) |
I'm currently facing the same issue. Creating the folder fixes the issue, but since I'm using other cli-plugins (babel, eslint, pwa) I have to create the folder for all of them. |
Same issue here with Vue CLI 4.5.15. Looks like the issue is macOS related (using 11.6 here with M1 processor but it does not seem to be related to the processor). |
I faced the same issue on the M1 Macbook Pro and a windows 10 machine. I was able to solve it by downgrading to node 16.13.0. |
Same here. MacOS 12.0.1, VueCLI 4.5.15, NodeJS 17.0.1. |
me 2 , manually creating folders fixes this issue. (for every cli plugins) |
me 2, fixed by manual create "locales" folder for all missing path @vue/xxxx/ someone just fix it plz System: |
Same issue! Manually creating the directories worked for me as well! |
running vue ui as sudo user fixed this problem for me |
In my case, running it as You can find it here: https://gist.github.com/surister/99036b618a6231ecdc2cb55845dea072 run it like:
Notes:
|
Thx for help. This issue exists for more than 5 months and it really bothers me |
i meet the same proble, i find the solution about delete the project failed to create.The failed project may lead to "Disconnected from UI server",So,delete it! |
In my case i use 2 node versions with 'nvm' : node 16. and node 20. Switching to 16. solved the problem |
Version
5.0.0-beta.7
Reproduction link
http://github/not-applicable
Environment info
Steps to reproduce
Whenever I start vue ui, it immediately fails with:
errno: -2,
syscall: 'scandir',
code: 'ENOENT',
path: '/Users/username/www/vue/Real-World_Vue-3/node_modules/@vue/cli-service/locales'
What is expected?
Vue ui to spin up
What is actually happening?
Vue ui fails with "Disconnected from UI server"
It is possible to fix the issue, by manually creating all the missing directories.
The text was updated successfully, but these errors were encountered: