-
-
Notifications
You must be signed in to change notification settings - Fork 60
Cannot install vite when user has space in username #23
Comments
Does somebody have a workaround for this yet? I cannot use Vite at all because of this. |
Any progress on this? It blocked me to use Vite. |
OK, I finally found a workaround. First, open a terminal with administrator privileges. Run the command as below:
And now you can run the I tried, and it works for me! I referenced this link, but the accepted answer did not work for me, I don't know why. |
Since the link is the feature of NTFS, it maybe do not work if you are using FAT32(the mklink will fail), but since you are using Win10, that probably won't happen. |
Thank you!! Its Work 🚀 |
Describe the bug
Installation Fails with an error below when running
npm init vite-app
Reproduction
Possible due to my windows username has space in the name which might be the cause
C:\Users\Reza Seedin\AppData
Please provide a link to a repo that can reproduce the problem you ran into.
A reproduction is required unless you are absolutely sure that the the problem is obvious and the information you provided is enough for us to understand what the problem is. If a report has only vague description (e.g. just a generic error message) and has no reproduction, it will be closed immediately.
System Info
vite
version: latestLogs (Optional if provided reproduction)
vite
orvite build
with the--debug
flag.The text was updated successfully, but these errors were encountered: