-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Fails to install on windows 10, whitespace in path issue? #4042
Comments
Looks like the issue is with npx. |
Closing as unactionable by us. |
This is an issue with npx. Your computer name has a space in it. See this issue in the npx repo for more info. It is unresolved, unfortunately. I'd recommend |
The above error is due the white space contain in your username of PC. The command npx create-react-app doesn't work in this situation and shows error. I have fixed the error and created my first react app. |
I had a similar error on Ubuntu WSL on Windows 10, and tried just dropping npx, so calling just
and it seems to work now |
I should say that I'm using npx on WSL and not having any issues. So it definitely seems to be an To give yourself less headaches in future, you could rename your computer? |
Is this a bug report?
yes
Did you try recovering your dependencies?
npm 5.60
Which terms did you search for in User Guide?
npx
Environment
node -v
: 9.5.0npm -v
: 5.6.0yarn --version
(if you use Yarn):npm ls react-scripts
(if you haven’t ejected):Then, specify:
Steps to Reproduce
Expected Behavior
The folder "my-app" is created and the create-react-app is installed in that folder
Actual Behavior
Failed to install create-react-app, looks like a problem with white-spaces in path, my user is "Ola Andersson" and the error message reports failure on "Andersson".
PowerShell log:
Npm error log:
Reproducible Demo
The text was updated successfully, but these errors were encountered: