From d287382bf3cdc6d5e2fd51044702af60cbdd72f9 Mon Sep 17 00:00:00 2001 From: Sahana R <37799932+sahanar11@users.noreply.github.com> Date: Sun, 27 Oct 2024 18:15:52 +0530 Subject: [PATCH 1/2] Update Readme.md --- Readme.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 7e7b88ba1..74dc35bab 100644 --- a/Readme.md +++ b/Readme.md @@ -23,7 +23,13 @@ By default, pre-built binaries will be downloaded if you're on one of the follow - Linux x86/64 (glibc only) - Windows x86/64 -If you want to build from source, use `npm install --build-from-source` and see the **Compiling** section below. +If you want to build from source, +use `npm_config_build_from_source=true yarn install` + +or with npm: +use `npm install --build-from-source` + +and see the **Compiling** section below. The minimum version of Node.js required is **18.12.0**. @@ -589,6 +595,10 @@ Notes and caveats: First make sure you've built the latest version. Get all the deps you need (see [compiling](#compiling) above), and run: ``` +npm_config_build_from_source=true yarn install + +or with npm: + npm install --build-from-source ``` From d34b3d508feef9a9d03e8f8eefce3849b145e7b8 Mon Sep 17 00:00:00 2001 From: Sahana R <37799932+sahanar11@users.noreply.github.com> Date: Sun, 27 Oct 2024 18:35:23 +0530 Subject: [PATCH 2/2] Update docs --- Readme.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Readme.md b/Readme.md index 74dc35bab..b5bd892ad 100644 --- a/Readme.md +++ b/Readme.md @@ -24,10 +24,10 @@ By default, pre-built binaries will be downloaded if you're on one of the follow - Windows x86/64 If you want to build from source, -use `npm_config_build_from_source=true yarn install` -or with npm: -use `npm install --build-from-source` +For npm, use: `npm install --build-from-source` + +or with yarn, use: `npm_config_build_from_source=true yarn install` and see the **Compiling** section below. @@ -595,11 +595,9 @@ Notes and caveats: First make sure you've built the latest version. Get all the deps you need (see [compiling](#compiling) above), and run: ``` -npm_config_build_from_source=true yarn install - -or with npm: +For npm, use: `npm install --build-from-source` -npm install --build-from-source +or with yarn, use: `npm_config_build_from_source=true yarn install` ``` For visual tests: `npm run test-server` and point your browser to http://localhost:4000.