mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
CODEBASE: Update NodeJS to v24 (#2456)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user