My app is crashing when trying to run crypto from a nestjs internal function
joeypedicini92
PROOP

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

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

Solved

3 Replies

brody
EMPLOYEE

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 12 months ago


joeypedicini92
PROOP

a year ago

That did the trick thank you!!


Status changed to Awaiting Railway Response Railway 12 months ago


brody
EMPLOYEE

a year ago

Awsome!


Status changed to Awaiting User Response Railway 12 months ago


Status changed to Solved brody 12 months ago


Loading...