Search code examples
githubdocusaurus

How to solve docusaurus yarn start error?


Trying to run a project cloned from GitHub and the yarn start gave me the following result

'docusaurus' is not recognized as an internal or external command, operable program or batch file.

enter image description here


Solution

  • The issue is solved by doing

    1. yarn upgrade docusaurus --latest
    2. yarn --force

    After performing first step got another error When trying to run after first step got another error

    TypeError: Cannot read property 'latest' of undefined

    To solve that i have to do the second step and it works fine

    referred two articles

    Stackoverflow

    GitHub