Skip to content

Global install fails on Node.js 22 / 24 due to isolated-vm native build error on macOS (arm64) #202

@Denn1sHe

Description

@Denn1sHe

Hi, thanks for building webcrack — it’s a great tool.

I’m opening this issue because the global installation currently fails on macOS (Apple Silicon)
when using Node.js 22 or 24, which are recommended in the README.

Environment:

  • OS: macOS (macos 26.1)
  • Arch: arm64 (Apple Silicon)
  • Node.js: v24.12.0 (also reproducible on v22.x)
  • Package manager: pnpm
  • Installation method: global install
  • webcrack: latest
  • Dependency causing failure: isolated-vm@5.0.4

Install command:
pnpm add -g webcrack --allow-build=isolated-vm

Result:
The installation fails while building the native dependency isolated-vm
during node-gyp rebuild.

Key errors from the build output:

  • "C++20 or later required."
  • unknown type name 'requires'
  • unknown type name 'concept'
  • std::ranges not found
  • errors originating from V8 headers (v8config.h, v8-local-handle.h, cppgc headers)

This appears to be related to Node.js 22 / 24 shipping newer V8 headers
that require C++20, while isolated-vm does not currently build
successfully in this environment on macOS arm64.

Workaround:

  • Downgrading Node.js to v20 LTS allows webcrack to install and run successfully.

Questions / suggestions:

  1. Is webcrack currently tested against Node.js 22 / 24 on macOS arm64?
  2. Is this a known limitation of the isolated-vm dependency?
  3. Would it make sense to document Node.js 20 LTS as a recommended or fallback version
    until the isolated-vm build issue is resolved?

I’m happy to help test or provide full build logs if needed.
Thanks again for the project.

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