Using Node V18 in railway

I am having issues using fetch in production and I believe this is happening because railway doesn't support node 18+ yet? can I just install node as a dep to solve this or will it not matter?
3 Replies
Percy
Percy2y ago
Project ID: df86c007-738e-4bbd-8164-747827066195
zerosodium
zerosodium2y ago
df86c007-738e-4bbd-8164-747827066195
Brody
Brody2y ago
they support node 18, it's just that node 16 is default. you can use node 18 by setting engines.node = 18 in your package.json
Want results from more Discord servers?
Add your server