如何解决 docusaurus 纱线启动错误?

How to solve docusaurus yarn start error?

尝试 运行 从 GitHub 克隆的项目和 yarn start 给了我以下结果

'docusaurus' 未被识别为内部或外部命令, 可运行的程序或批处理文件。

问题已解决

  1. yarn 升级 docusaurus --latest
  2. 纱--力

执行第一步后出现另一个错误 第一步尝试 运行 时遇到另一个错误

TypeError: Cannot read property 'latest' of undefined

为了解决这个问题,我必须执行第二步,它工作正常

引用了两篇文章

Whosebug

GitHub