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

Error: EPERM: operation not permitted, mkdir 'C:\Users\Philip' #77

Closed
TradeIdeasPhilip opened this issue Mar 6, 2022 · 2 comments
Closed

Comments

@TradeIdeasPhilip
Copy link

I'm new to Vue. I'm copying directly from the Vue tutorial.

Philip Smolen@DESKTOP-UOBK4AV MINGW64 /c/simple-projects/vue-test
$ npm init vue@latest
Error: EPERM: operation not permitted, mkdir 'C:\Users\Philip'
command not found: create-vue

Philip Smolen@DESKTOP-UOBK4AV MINGW64 /c/simple-projects/vue-test
$

It looks like a script is choking because my home directory has a space in it.

I tried several variations on this theme with no success. I tired it under Git Bash and Windows Power Shell. I moved to a directory without any spaces in the name. I tried vue@3 as recommended on another page. I tried --verbose but it didn't show anything useful.

Please advise. How do I get started with Vue? Thanks!

@TradeIdeasPhilip
Copy link
Author

Never mind. I reinstalled node and npm and now I'm past that error.

@haoqunjiang
Copy link
Member

If anyone encounters this error too, here's a reference to the npx bug: zkat/npx#146 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants