a year ago
36 Replies
Basically, typescript 5.5 broke alot of stuff, but after trying to downgrade to 5.4.4 railway just refuses to acknowledge it, I'm not sure if it's to do with what version of node railway is tryna use though
a year ago
what version of node is railway using for your build, and what version are you using locally?
a year ago
it's v18 by default, railway will use that if you don't specify otherwise
a year ago
set your engines.node to 20
a year ago
package.json
https://i.imgur.com/iYfiRqf.png still the same heaps of typescript errors
a year ago
well is the build using node 20 now?
a year ago
for some reason that yes does not fill me with confidence
a year ago
are the dependencies being installed from a lock file?
a year ago
that's not ideal
a year ago
perfect
a year ago
you still wanna be using a lock file though