docusaurus-openapi-docs
docusaurus-openapi-docs copied to clipboard
Cloning Git template failed
The cloning template provided in the documentation at https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/tree/main#installing-from-template seems to be broken.
Even after trying different cloning options and forking the repository, the same error persists.
Refer to the screenshot for more details.
:tada: Thanks for opening your first issue here! Welcome to the community!
I also get the same error following documentation
https://github.com/PaloAltoNetworks/docusaurus-openapi-docs
PS C:\Users\Documents> npx [email protected] my-website --package-manager yarn
√ Select a template below... » Git repository
√ Enter a repository URL from GitHub, Bitbucket, GitLab, or any other public repo.
(e.g: https://github.com/ownerName/repoName.git) ... https://github.com/PaloAltoNetworks/docusaurus-template-openapi-docs.git
√ How should we clone this repo? » Copy: do a shallow clone, but do not create a git repo
[INFO] Creating new Docusaurus project...
fatal: could not create leading directories of ''C:\Users\Documents\my-website'': Invalid argument[ERROR] Cloning Git template failed!
I had the same problem, I solved it using the WSL feature of windows, the error only occurs in windows.
I had the same problem, I solved it using the WSL feature of windows, the error only occurs in windows.
I tried with WSL and it still doesn't work.
Is there another solution to this?