CODEBASE: Update NodeJS to v24 (#2456)

This commit is contained in:
catloversg
2026-01-29 13:10:55 +07:00
committed by GitHub
parent 8b07879ad9
commit 5a2bdfc9f1
12 changed files with 69 additions and 69 deletions

View File

@@ -155,7 +155,7 @@ upstream/master
Install
- `npm` (maybe via `nvm`)
- NodeJS (maybe via `nvm`). When installing NodeJS, you also get a tool called `npm`. You can update `npm` to the latest version by running `npm install -g npm@latest`.
- Github Desktop (Windows only)
- Visual Studio Code (optional)
@@ -169,7 +169,7 @@ Saving a file will reload the game automatically.
### How to build the electron app
Tested on Node v20.11.1 (LTS) on Windows.
Tested on Node 24.13.0 (LTS) on Windows.
These steps only work in a Bash-like environment, like MinGW for Windows.
```sh
@@ -223,7 +223,7 @@ After running `npm install`, if you do not change anything in `package.json` and
### Unrelated failed Jest tests
Some Jest tests fail to run in Node 24. Those tests show a small difference between the expected value ("Snapshot") and the actual value ("Received"). If you do not change anything related to those tests, you can ignore them. This is not a problem with earlier Node versions.
Some Jest tests fail to run in Node versions older than v24. On those versions, these tests show a small difference between the expected value ("Snapshot") and the actual value ("Received"). You need to use Node v24+ to run these tests.
## As a Documenter