a year ago
Seems like maybe this is due to node defaulting to version 18? so i tried adding an engines prop to my package.json to use node 20 but it's still using node 18. Found this reference https://github.com/typeorm/typeorm/issues/11270#issuecomment-2644392664
even though i'm not using typeorm it's a similar bug
ⓘ Deployment information is only viewable by project members and Railway employees.
3 Replies
a year ago
Hello,
You have no root package.json to set the node engine version in, to begin with.
Instead, set a NIXPACKS_NODE_VERSION variable to 20
Best,
Brody
Attachments
Status changed to Awaiting User Response Railway • about 1 year ago
a year ago
That did the trick thank you!!
Status changed to Awaiting Railway Response Railway • about 1 year ago
Status changed to Awaiting User Response Railway • about 1 year ago
Status changed to Solved brody • about 1 year ago