From 7f2ad29f7fa1a95a48a4376c8bc826af7befa4a9 Mon Sep 17 00:00:00 2001 From: mtheeraj148-netizen Date: Fri, 18 Sep 2026 14:24:46 +0530 Subject: [PATCH] Add .nvmrc pinning Node 22 Node 26 (bleeding-edge/unstable) bundles a common.gypi that injects the Clang-only -flto=thin flag, which breaks MSVC linking for native modules (e.g. tree-sitter-kotlin) on Windows. Pin to Node 22 LTS, which the project already requires (package.json: "node": ">=20"), so native builds work out of the box. --- .nvmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 000000000..c94711948 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +22.23.2