From ff07a66dd8b742fcd8dd35e20f7bd86c9c5e483b Mon Sep 17 00:00:00 2001 From: Dan Roscigno Date: Fri, 29 Apr 2022 16:32:57 -0400 Subject: [PATCH 1/2] 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) ``` --- website/docs/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/installation.md b/website/docs/installation.md index 8bf565990ccd..070998e38b6e 100644 --- a/website/docs/installation.md +++ b/website/docs/installation.md @@ -20,7 +20,7 @@ Use **[docusaurus.new](https://docusaurus.new)** to test Docusaurus immediately ## Requirements {#requirements} -- [Node.js](https://nodejs.org/en/download/) version >= 14 or above (which can be checked by running `node -v`). You can use [nvm](https://github.com/nvm-sh/nvm) for managing multiple Node versions on a single machine installed. +- [Node.js](https://nodejs.org/en/download/) version >= 16 or above (which can be checked by running `node -v`). You can use [nvm](https://github.com/nvm-sh/nvm) for managing multiple Node versions on a single machine installed. - When installing Node.js, you are recommended to check all checkboxes related to dependencies. ## Scaffold project website {#scaffold-project-website} From d377e06a73b9c2b3ea8604829c6752285feadf4d Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Sat, 30 Apr 2022 09:07:03 +0800 Subject: [PATCH 2/2] Update installation.md --- website/docs/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/installation.md b/website/docs/installation.md index 070998e38b6e..a7aa1fa08c81 100644 --- a/website/docs/installation.md +++ b/website/docs/installation.md @@ -20,7 +20,7 @@ Use **[docusaurus.new](https://docusaurus.new)** to test Docusaurus immediately ## Requirements {#requirements} -- [Node.js](https://nodejs.org/en/download/) version >= 16 or above (which can be checked by running `node -v`). You can use [nvm](https://github.com/nvm-sh/nvm) for managing multiple Node versions on a single machine installed. +- [Node.js](https://nodejs.org/en/download/) version 14.13 or above (which can be checked by running `node -v`). You can use [nvm](https://github.com/nvm-sh/nvm) for managing multiple Node versions on a single machine installed. - When installing Node.js, you are recommended to check all checkboxes related to dependencies. ## Scaffold project website {#scaffold-project-website}