Skip to content

Support Node.js version: 26.1.0 #183

@corrm

Description

@corrm
> bunx @colbymchenry/codegraph
------------------------------------------------------------------------
[CodeGraph] Unsupported Node.js version: 26.1.0
------------------------------------------------------------------------
Node.js 25.x has a V8 WASM JIT (turboshaft) Zone allocator bug that
crashes with `Fatal process out of memory: Zone` when CodeGraph
compiles tree-sitter grammars. CodeGraph WILL crash on this Node
version mid-indexing. See https://github.com/colbymchenry/codegraph/issues/81

Fix: install Node.js 22 LTS:
  nvm install 22 && nvm use 22                          # nvm
  brew install node@22 && brew link --overwrite --force node@22  # Homebrew

To override (NOT recommended - you will likely OOM):
  CODEGRAPH_ALLOW_UNSAFE_NODE=1 codegraph ...
------------------------------------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions