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

npm create vite@latest @ Windows OS #11567

Closed
7 tasks done
itamardavidyan opened this issue Jan 3, 2023 · 1 comment
Closed
7 tasks done

npm create vite@latest @ Windows OS #11567

itamardavidyan opened this issue Jan 3, 2023 · 1 comment
Labels
bug: upstream Bug in a dependency of Vite has workaround

Comments

@itamardavidyan
Copy link

Describe the bug

I tried run npm create vite@latest command and I got the next error:
Error: EPERM: operation not permitted, mkdir 'C:\Users\Itamar'

I think that the problem is that my user name include space ("Itamar Davidyan")

Reproduction

false

Steps to reproduce

No response

System Info

$ npx envinfo --system --npmPackages '{vite,@vitejs/*}' --binaries --browsers
Error: EPERM: operation not permitted, mkdir 'C:\Users\Itamar'
command not found: envinfo

Used Package Manager

npm

Logs

No response

Validations

@sapphi-red
Copy link
Member

This is a bug in npx@6. npm/cli#502, npm/npx#48, zkat/npx#100
Closing as it's not a bug in Vite.

I guess it'll work if yarn or pnpm or npm@7+ is used.

@sapphi-red sapphi-red closed this as not planned Won't fix, can't repro, duplicate, stale Jan 3, 2023
@sapphi-red sapphi-red added bug: upstream Bug in a dependency of Vite has workaround and removed pending triage labels Jan 3, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jan 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug: upstream Bug in a dependency of Vite has workaround
Projects
None yet
Development

No branches or pull requests

2 participants