docs: move node.js before Emscripten

node.js is required in order to run Emscripten
This commit is contained in:
EberhardSchweizer07@gmail.com 2025-02-27 15:19:42 +01:00
parent 7ab6887e08
commit 562ac41230

24
docs/build/windows.md vendored
View file

@ -162,8 +162,19 @@ SETX KEYMAN_ROOT "c:\Projects\keyman\keyman"
* KeymanWeb
**Requirements**:
* Emscripten
* node.js
* Emscripten
#### node.js
Our recommended way to install node.js is to use
[nvm-windows](https://github.com/coreybutler/nvm-windows). This makes it
easy to switch between versions of node.js.
```bat
nvm install 20.16.0
nvm use 20.16.0
```
#### Emscripten
@ -216,17 +227,6 @@ installed on your computer:
SETX KEYMAN_USE_EMSDK 1
```
#### node.js
Our recommended way to install node.js is to use
[nvm-windows](https://github.com/coreybutler/nvm-windows). This makes it
easy to switch between versions of node.js.
```bat
nvm install 20.16.0
nvm use 20.16.0
```
**Optional environment variables**:
To let the Keyman build scripts control the version of node.js installed