set node version
danivazx
HOBBYOP

7 months ago

how do I set the node version to 24 without setting up a a fucking dockerfile?

Solved$10 Bounty

2 Replies

uxuz
MODERATOR

7 months ago

Hey danivauzx, please refer to the following documentation for the builder you are using.

Nixpacks: https://nixpacks.com/docs/providers/node#setup

Railpack: https://railpack.com/languages/node#versions


smolpaw
HOBBY

7 months ago

You need to add the node version in your package.json file like this and nixpacks will auto detect instead of defaulting to node 18

Attachments


Status changed to Solved uxuz 8 months ago


Status changed to Open uxuz 8 months ago


Status changed to Solved uxuz 8 months ago


Loading...