using nvmrc file with lts/jod
knoid
HOBBYOP

a year ago

When running the app with an .nvmrc containing lts/jod, I get the following error: "Warning: node version lts/jod is not valid, using default node version nodejs_18".

For now I've been able to solve this issue by using NIXPACKS_NODE_VERSION=22environment variable but I would like railway to pick it up automatically from the .nvmrc file.

Are there plans to support the latest lts from the nvmrc file?

Thanks!

Solved

1 Replies

a year ago

Hello,

We do not have a plan to support .nvmrc in Nixpacks, but we do support setting the node version through the preferred method of engines.node in your package.json file.

Best,

Brody


Status changed to Awaiting User Response Railway about 1 year ago


Railway
BOT

7 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 7 months ago


Loading...