Skip to content

Commit 32cbd06

Browse files
committed
docs: node version requirements
1 parent bc8093f commit 32cbd06

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ Try it in the [online playground](https://webcrack.netlify.app/) or view the [do
2323
- ⌨️ **TypeScript** - All code is written in TypeScript
2424
- 🧪 **Tests** - To make sure nothing breaks
2525

26+
## Requirements
27+
28+
Node.js 22 or 24.
29+
2630
## Command Line Interface
2731

2832
```bash

apps/docs/src/guide/common-errors.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ If you see errors like
88
> - ERR_DLOPEN_FAILED
99
> - Segmentation fault
1010
11-
it most likely means that the [isolated-vm](https://github.com/laverdet/isolated-vm) package was built against a different version of Node.js than the one you are using. This can happen if you upgrade Node.js after installing `webcrack`.
11+
it most likely means that the Node.js version you are using is not compatible with the [isolated-vm](https://github.com/laverdet/isolated-vm) package. This can also happen if you upgrade Node.js after installing `webcrack`.
12+
See [Requirements](./introduction.md#requirements) for the supported Node.js versions.
1213

13-
To fix this, run `npm rebuild isolated-vm` in your project directory or delete the `node_modules/isolated-vm` directory and run `npm install` again.
14+
A possibly fix is to run `npm rebuild isolated-vm` in your project directory or delete the `node_modules/isolated-vm` directory and run `npm install` again.
1415

1516
For Node 20.x and above, disabling snapshots may be necessary:
1617

apps/docs/src/guide/introduction.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ to resemble the original source code as much as possible.
1212
- ⌨️ **TypeScript** - All code is written in TypeScript
1313
- 🧪 **Tests** - To make sure nothing breaks
1414

15+
## Requirements
16+
17+
Node.js 22 or 24.
18+
1519
## Planned Features
1620

1721
- Smarter variable renaming, possibly with LLMs like GPT-3.5

0 commit comments

Comments
 (0)