mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 09:43:10 +00:00
* Update installation.md
I believe the current version of Docusaurus requires node 16. With 14 I get:
```
import {program} from 'commander';
^^^^^^^
SyntaxError: The requested module 'commander' does not provide an export named 'program'
at ModuleJob._instantiate (internal/modules/esm/module_job.js:92:21)
at async ModuleJob.run (internal/modules/esm/module_job.js:107:20)
at async Loader.import (internal/modules/esm/loader.js:179:24)
```
* Update installation.md
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
|
||
|---|---|---|
| .. | ||
| _dogfooding | ||
| blog | ||
| community | ||
| docs | ||
| src | ||
| static | ||
| versioned_docs | ||
| versioned_sidebars | ||
| README.md | ||
| babel.config.js | ||
| delayCrowdin.mjs | ||
| docusaurus.config-blog-only.js | ||
| docusaurus.config.js | ||
| netlify.toml | ||
| package.json | ||
| sidebars.js | ||
| sidebarsCommunity.js | ||
| testCSSOrder.mjs | ||
| tsconfig.json | ||
| versions.json | ||
| versionsArchived.json | ||
| waitForCrowdin.mjs | ||
Docusaurus 2 Website
Installation
yarn installin the root of the repo (one level above this directory).- In this directory, do
yarn start. - A browser window will open up, pointing to the docs.