yungyoda
PROOP
a year ago
this is my railway.toml file
builder = "nixpacks"
buildCommand = "bun install && bun run build"
[deploy]
startCommand = "bun run start"
healthcheckPath = "http://localhost:3000/api/health"
healthcheckTimeout = 100
restartPolicyType = "on_failure"
[deploy.envs]
NODE_ENV = "production"
NIXPACKS_NODE_VERSION = 23I've tried setting another env with the same name. Didn't work. I also have engine.node configured in my package.json.
8 Replies
a year ago
nixpacks doesnt support node 23, you would need to use railpack
also what is the best way to specify version? in the package.json or with env in the dashboard or env in the .toml file?
a year ago
railpack is the correct value.
engines.node is the industry standard way
a year ago
no problem!
a year ago
!s
Status changed to Solved brody • about 1 year ago
omniaffix-dave
PRO
a year ago
Then click Node-> Node | Nixpacks
Is this a railway thing and not a nixpacks thing?
The following major versions are available
1618(Default)202223
Status changed to Open Railway • about 1 year ago