From dd7bbeb669ec4b50bb2ac221d4e159ac1e3e3aef Mon Sep 17 00:00:00 2001 From: Daniel Shneyder Date: Sun, 1 Feb 2026 15:05:28 -0800 Subject: [PATCH] chore: pin node version in engines field Adds a Node.js version constraint to `package.json` via the `engines` field matching the existing `volta` configuration. This ensures developers using environment managers other than Volta (such as `fnm` or `pnpm`) are warned when using an incompatible Node version. This helps prevent native module compilation errors, specifically with `better-sqlite3`, caused by ABI mismatches between the host Node environment and the Electron runtime. --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 84309e6b..1e09f15a 100644 --- a/package.json +++ b/package.json @@ -145,6 +145,9 @@ "!src/main/**/*" ] }, + "engines": { + "node": "20.16.0" + }, "volta": { "node": "20.16.0" }