Skip to content

installation fails with newer node because of isolated-vm #183

@kallyaleksiev

Description

@kallyaleksiev

Describe the bug

webcrack depends on isolated-vm 5.*, which fails on Node 24 because it cannot compile against V8 in Node 24 (or ≥23) and fails on Node 22 when a pre-built binary is unavailable

ref: https://github.com/laverdet/isolated-vm/releases/tag/v6.0.0

Expected Behaviour

success of install

Code

`npm i -g webcrack`

Logs

error: "C++20 or later required."
543 error       1313 |  | ##eerrrroorr  ""CC++++2200  oorr  llaatteerr  rreeqquuiirreedd.."
...
543 error gyp ERR! build error 
543 error gyp ERR! stack Error: `make` failed with exit code: 2
543 error gyp ERR! stack at ChildProcess.<anonymous> (/.../.nvm/versions/node/v24.3.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:219:23)
543 error gyp ERR! System Darwin 24.5.0
543 error gyp ERR! command "/....nvm/versions/node/v24.3.0/bin/node" "/.../.nvm/versions/node/v24.3.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release" "-j" "max"
543 error gyp ERR! cwd /.../.nvm/versions/node/v24.3.0/lib/node_modules/webcrack/node_modules/isolated-vm
543 error gyp ERR! node -v v24.3.0
543 error gyp ERR! node-gyp -v v11.2.0
543 error gyp ERR! not ok

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdependenciesPull requests that update a dependency file

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions