Skip to content

chore: pin node version in engines field#662

Open
archcorsair wants to merge 1 commit intomassCodeIO:masterfrom
archcorsair:patch-1
Open

chore: pin node version in engines field#662
archcorsair wants to merge 1 commit intomassCodeIO:masterfrom
archcorsair:patch-1

Conversation

@archcorsair
Copy link

@archcorsair archcorsair commented Feb 1, 2026

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, nvm, or n ) 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.

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Refactor
  • Other, please describe: Pin Node.js version in package.json engines field to match existing Volta configuration and improve environment consistency for fnm/nvm/n users.

Validations

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant