Commit Graph

2 Commits

Author SHA1 Message Date
4cf857fd2d fix: pin NIXPACKS_NODE_VERSION from the repo's .nvmrc/engines.node
Nixpacks silently falls back to its own default Node version when a
repo doesn't match what it expects, instead of failing the build —
confirmed in practice as a green build that crashed at runtime on a
missing global. detectNodeVersion() reads the repo's own .nvmrc or
package.json engines.node and passes it through as
NIXPACKS_NODE_VERSION so the build actually uses what the repo
declares.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-08 03:12:58 +02:00
5e8397bcd9 docs: add LESSONS.md with recurring build/runtime gotchas
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-08 03:06:06 +02:00