docusaurus-openapi-docs
docusaurus-openapi-docs copied to clipboard
[Bug] Setup of Docusaurus from scratch on Windows
Hello, I'm trying to set up Docusaurus from scratch on Windows following this instruction - https://github.com/PaloAltoNetworks/docusaurus-openapi-docs?tab=readme-ov-file#bootstrapping-from-template-new-docusaurus-site
But I get an error when cloning the repository.
Here are the steps I follow:
-
Opening CMD in the Administrator mode.
-
Running
npx [email protected] my-website --package-manager yarn
- choosing
Git repository - pasting the URL
https://github.com/PaloAltoNetworks/docusaurus-template-openapi-docs.git - choosing
Copy: do a shallow clone, but do not create a git repo
It seems that the directory cannot be created.
Please let me know any solution to that. Thanks.
EDIT: I have found an alternative way to set it up on Windows as follows:
git clone --depth 1 https://github.com/PaloAltoNetworks/docusaurus-template-openapi-docs.git my-website
cd my-website
yarn install
yarn start
Hi @martyna-mindsdb thanks for reporting this issue. Since it's not necessarily related to the plugin would you be interested in updating the readme to including your suggested workaround? Thanks!