Replies: 1 comment
-
I'm not sure what is happening I confirm this works on macos I don't currently have Windows to reproduce the problem Moving from shelljs to execa might fix the problem: The problematic part is likely in logger.info('Creating new Docusaurus project...');
if (source.type === 'git') {
const gitCommand = await getGitCommand(source.strategy);
const gitCloneCommand = `${gitCommand} ${escapeShellArg(
source.url,
)} ${escapeShellArg(dest)}`;
if (shell.exec(gitCloneCommand).code !== 0) {
logger.error`Cloning Git template failed!`;
process.exit(1);
}
if (source.strategy === 'copy') {
await fs.remove(path.join(dest, '.git'));
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone.
I am new on docusaurus and I try to create my first docusaurus web site.
I try to create my docusaurus site from a git repository: https://github.com/PaloAltoNetworks/docusaurus-openapi-docs.
When I try to follow the steps of the installation with my Windows 11 laptop, I have an error:
or
I tried a lot of different scenarios on Windows:
I have the same error whatever the way I run the command line.
I was able to unblock me by running my command on my Macbook: everything went well.
I open this discussion just to help the community because without my Macbook I didn't find the solution and everyone doesn't have another system with him. Can you help me to find the correct solution to do what I tried to do with Windows 11 please ? Or maybe it is a bug ?
Beta Was this translation helpful? Give feedback.
All reactions