npm is installing [email protected]

Don't know if anyone has had this issue before, but npm is installing version 3.6.11 and the latests version is 4.16.2
No description
12 Replies
Percy
Percy12mo ago
Project ID: N/A
Fragly
Fragly12mo ago
your node version is too high, you'd need to set your node version to between version 10.16.0 and version 14 the lowest version supported by node nixpacks is 14 though you can change your node version by setting the NIXPACKS_NODE_VERSION service variable to the version you want (14 in this case ) based on the npmpackage you want to use anyway this is a version conflict error
BlindMonkey
BlindMonkeyOP12mo ago
Where would I set my NIXPACKS_NODE_VERSION ?
Fragly
Fragly12mo ago
You can do that in your service settings in the "Variables" tab
Brody
Brody12mo ago
node 16 is the oldest node version railway supports
BlindMonkey
BlindMonkeyOP12mo ago
That fixed that, is there a way to set a specific Python version?
No description
Fragly
Fragly12mo ago
yes, you can do this via NIXPACKS_PYTHON_VERSION service variable https://nixpacks.com/docs/providers/python So nixpacks supports node 14 but railway only supports up to 16? <:mommy_confused:1023749002069540935>
Brody
Brody12mo ago
I meant nixpacks, I don't know if they put 14, but I've seen a whole lot of failed builds because they where on node 14
Fragly
Fragly12mo ago
oh that's odd, version 14 is listed as a suppored version on nixpacks
Brody
Brody12mo ago
outdated lol
Fragly
Fragly12mo ago
WHYYYYY
BlindMonkey
BlindMonkeyOP12mo ago
Alright thank you this, Starting a new fresh install with all of this info Working on a my first app and try to have my local env to live setup and workflow working before I start Have learned alot these pass two day
Want results from more Discord servers?
Add your server