-1

here when I execute the creation of docusaurus command it halts and never comes out of loop post executing

here is the command: when I try to execute in git bash npx create-docusaurus@latest my-website classic

[enter image description here] (https://i.sstatic.net/3KwSEKpl.png)

Please help to fix this, not sure why its halting and not coming out of this command post executing.

I tried executing the same command in command prompt and PowerShell it is working fine as expected. But not use why in git bash?

2
  • I don't know Docusaurus and can't say whether it is designed to work in git-bash, but since the command comes already that far, you could check whether it at least created the project correctly. Does it at the end simply wait for user input (i.e. what happens if you just type a carriage return?). An alternative would be to type control-C to abort it. In any case when you get back to the command prompt, have a look whether something is missing. Commented Aug 30 at 9:27
  • 1
    BTW, consider yourself lucky that the execution went that far without larger problems. If a command works in Windows CMD shell and in Powershell, I would rather expect that it would not run anywhere else. Commented Aug 30 at 9:31

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.