trigger.dev icon indicating copy to clipboard operation
trigger.dev copied to clipboard

bug: Node.js version mismatch between CONTRIBUTING.md and .nvmrc

Open aman-4321 opened this issue 11 months ago • 4 comments

Provide environment information

System:
OS: Windows 11 10.0.26200
CPU: (16) x64 AMD Ryzen 7 5800H with Radeon Graphics
Memory: 18.28 GB / 29.86 GB
Binaries:
Node: 20.19.0 - C:\nvm4w\nodejs\node.EXE
npm: 10.8.2 - C:\nvm4w\nodejs\npm.CMD
pnpm: 10.23.0 - C:\nvm4w\nodejs\pnpm.CMD
bun: 1.3.3 - C:\Users\amanc.bun\bin\bun.EXE

Describe the bug

CONTRIBUTING.md says Node.js 20.11.1, but .nvmrc requires v20.19.0. When using 20.11.1, pnpm install fails because Prisma enforces Node 20.19+ during preinstall. With 20.19.0, install succeeds. Docs should reflect 20.19.0 to prevent failed installs.

Reproduction repo

https://github.com/triggerdotdev/trigger.dev

To reproduce

  1. Use Node.js 20.11.1
  2. From repo root: pnpm install
  3. See Prisma preinstall error: “Prisma only supports Node.js versions 20.19, 22.12, 24.0. Please upgrade your Node.js version.”
  4. Switch to Node.js 20.19.0, rerun pnpm install → succeeds.

Additional information

.nvmrc contains v20.19.0; updating CONTRIBUTING.md to the same version should fix the mismatch.

aman-4321 avatar Dec 08 '25 12:12 aman-4321

@aman-4321 i faced the same issue, i wil fix it.

shivareddyvanja avatar Jan 14 '26 18:01 shivareddyvanja

@ShivaReddyVanja have you started fixing yet? If not I could fix it today.

AntonioAEMartins avatar Jan 14 '26 22:01 AntonioAEMartins

@aman-4321 this issue is resolved now, please close the issue.

shivareddyvanja avatar Jan 15 '26 11:01 shivareddyvanja

CONTRIBUTING.md and .nvmrc now specify the same Node version. Closing as resolved.

matt-aitken avatar Aug 29 '26 17:08 matt-aitken