-
-
Notifications
You must be signed in to change notification settings - Fork 8.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
Cannot install if user folder contain spaces on Windows. #1217
Comments
I use window myself and was not able to reproduce this Furthermore, the cli for docusaurus-init does not take any argument. It installs in the current folder. As you can see in above screenshot, my folder name is even Do you mind to send in screenshots or videos and report it if it still persists ? Thank you |
Hello and thank you for your answer. Are you serious? I give you an example in powershell/Dos and you answer me with ubuntu for windows. If it's something linux only, please update your documentation. |
@Xarkam I don’t think questioning @endiliey’s seriousness of his response is helpful or called for. He took the time to provide a thoughtful answer and asked for more information if you had it. In no way was he condescending to you, and I would hope for the same level of respect in return. Thank you. Sent with GitHawk |
@endiliey thank you for response as part of my problem. @endiliey I will take some time tomorrow to redo the procedure as indicated in the documentation. |
@Xarkam That's actually not the point. Whether the initial response answered your question, there are more appropriate and respectful ways to make your disagreement known than "Are you serious?".
@endiliey is one of our most active and prolific Docusaurus contributors who is really trying to help improve Docusaurus. In no way was he purposely not trying to answer your question. It is quite clear the essence of your response was disparaging. Maybe it wasn't on purpose, I hope not. Anyway, I appreciate you filing a bug report and it looks like there may be a path forward to continue to try to resolve this issue. I am going to consider this ancillary matter closed so that we can continue down the technical discussion path. Thanks. |
Also, for now I will reopen this issue since it sounds like there may be some continued work towards a resolution here. |
Hello, I just testing this morning.
### Look this line in logs:
The path is separate in two arguments: So, why my path is cut on space ? |
Looking at your log, it seems to be not related to docusaurus. But 'npx' package itself. You might want to file an issue at https://github.com/zkat/npx However, I took my time to investigate and find that this issue you are facing is in fact happening with many other cli app too. See below, the log is very identical to your log. Running install in user modezkat/npx#100Run install in admin user modezkat/npx#146Conclusion: **this bug is caused by npx and not docusaurus itself.There are various solutions shown in that issue, you might want to look at that. If it still doesn't, did you try the alternative commands to install docusaurus that we have written in our documentation ? yarn global add docusaurus-init
docusaurus-init I believe this is worth closing. Thank you for the time 😉 |
Thanks @endiliey. If this problem is recurrent with npx, why no adding a note in getting started documentation about this ? I did not follow the procedure with yarn because I thought that it did not concern me since I use node 10. |
@Xarkam - we encourage those that feel the documentation could use improvement to send a pull request to update it. We are generally very accommodating to such changes, assuming they provide value to those that use or are starting to use Docusaurus. |
🐛 Bug Report
In accordance with documentation,
npx docusaurus-init
cannot install in my windows user folder because, I have spaces in name.I discovered this after analyzing installation log.
The correct path is
"C:\\Users\\Xarkam Xarkam\\AppData\\Roaming\\npm-cache\\_npx\\8596"
but the cli cut into two argments because of the space.The text was updated successfully, but these errors were encountered: