command npx volt-vue add Button not working
#4553
Unanswered
ItAntoninR
asked this question in
Volt-Vue
Replies: 1 comment
-
|
Issue : tugcekucukoglu/volt-vue#1 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Issue with npx volt-vue add Button on Windows when user folder contains spaces
The following command does not work in my case:
I am trying to configure Volt for my Nuxt project.
This is a work computer, so I did not choose my user folder name — it is automatically created by my company.
My Windows user folder contains spaces, which causes the git clone command to fail because the path is interpreted as multiple arguments.
If I run the same command manually, I get:
This confirms that the issue comes from the missing quotes around the destination path.
Suggested fix
The CLI should wrap the temporary folder path in quotes when executing git clone, for example:
git clone --depth 1 https://github.com/primefaces/primevue.git "C:\Users\USER_FOLDER\AppData\Local\Temp\primevue-volt-temp"This would make the command work correctly on Windows systems where the user directory contains spaces.
Beta Was this translation helpful? Give feedback.
All reactions