2 years 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
2 years ago
what version of node is railway using for your build, and what version are you using locally?
2 years ago
it's v18 by default, railway will use that if you don't specify otherwise
2 years ago
set your engines.node to 20
2 years ago
package.json
https://i.imgur.com/iYfiRqf.png still the same heaps of typescript errors
2 years ago
well is the build using node 20 now?
2 years ago
for some reason that yes does not fill me with confidence
2 years ago
are the dependencies being installed from a lock file?
2 years ago
that's not ideal
2 years ago
perfect
2 years ago
you still wanna be using a lock file though