You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there 👋 I tried following the steps written in the README but I'm getting this error.
Expected behavior
A working docusaurus project.
Current behavior
This is what I'm getting:
PS D:\API Docs> npx create-docusaurus@3.5.2 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: Too many arguments.
usage: git clone [<options>] [--] <repo> [<dir>]
-v, --verbose be more verbose
-q, --quiet be more quiet
--progress force progress reporting
--reject-shallow don't clone shallow repository
-n, --no-checkout don't create a checkout
--bare create a bare repository
--mirror create a mirror repository (implies bare)
-l, --local to clone from a local repository
--no-hardlinks don't use local hardlinks, always copy
-s, --shared setup as shared repository
--recurse-submodules[=<pathspec>]
initialize submodules in the clone
--recursive ... alias of --recurse-submodules
-j, --jobs <n> number of submodules cloned in parallel
--template <template-directory>
directory from which templates will be used
--reference <repo> reference repository
--reference-if-able <repo>
reference repository
--dissociate use --reference only while cloning
-o, --origin <name> use <name> instead of 'origin' to track upstream
-b, --branch <branch>
checkout <branch> instead of the remote's HEAD
-u, --upload-pack <path>
path to git-upload-pack on the remote
--depth <depth> create a shallow clone of that depth
--shallow-since <time>
create a shallow clone since a specific time
--shallow-exclude <revision>
deepen history of shallow clone, excluding rev
--single-branch clone only one branch, HEAD or --branch
--no-tags don't clone any tags, and make later fetches not to follow them
--shallow-submodules any cloned submodules will be shallow
--separate-git-dir <gitdir>
separate git dir from working tree
-c, --config <key=value>
set config inside the new repository
--server-option <server-specific>
option to transmit
-4, --ipv4 use IPv4 addresses only
-6, --ipv6 use IPv6 addresses only
--filter <args> object filtering
--also-filter-submodules
apply partial clone filters to submodules
--remote-submodules any cloned submodules will use their remote-tracking branch
--sparse initialize sparse-checkout file to include only files at root
[ERROR] Cloning Git template failed!
Possible solution
I cloned the repo directly using git clone https://github.com/PaloAltoNetworks/docusaurus-template-openapi-docs.git. Then I installed all the packages using yarn install and run the docusaurus instance. The site was running smoothly until I click on the Petstore API section. It gives this error:
Steps to reproduce
Here are the steps that I followed:
Run npx create-docusaurus@3.5.2 my-website --package-manager yarn
Select Git repository
Enter https://github.com/PaloAltoNetworks/docusaurus-template-openapi-docs.git
Select Copy: do a shallow clone, but do not create a git repo
Context
I'm trying to display my OpenAPI specification in Docusaurus.
The text was updated successfully, but these errors were encountered:
Describe the bug
Hey there 👋 I tried following the steps written in the README but I'm getting this error.
Expected behavior
A working docusaurus project.
Current behavior
This is what I'm getting:
Possible solution
I cloned the repo directly using
git clone https://github.com/PaloAltoNetworks/docusaurus-template-openapi-docs.git
. Then I installed all the packages usingyarn install
and run the docusaurus instance. The site was running smoothly until I click on the Petstore API section. It gives this error:Steps to reproduce
Here are the steps that I followed:
npx create-docusaurus@3.5.2 my-website --package-manager yarn
Git repository
https://github.com/PaloAltoNetworks/docusaurus-template-openapi-docs.git
Context
I'm trying to display my OpenAPI specification in Docusaurus.
The text was updated successfully, but these errors were encountered: