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
Percy11mo ago
Project ID: N/A
Fragly
Fragly11mo 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
BlindMonkey11mo ago
Where would I set my NIXPACKS_NODE_VERSION ?
Fragly
Fragly11mo ago
You can do that in your service settings in the "Variables" tab
Brody
Brody11mo ago
node 16 is the oldest node version railway supports
BlindMonkey
BlindMonkey11mo ago
That fixed that, is there a way to set a specific Python version?
No description
Fragly
Fragly11mo 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
Brody11mo 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
Fragly11mo ago
oh that's odd, version 14 is listed as a suppored version on nixpacks
Brody
Brody11mo ago
outdated lol
Fragly
Fragly11mo ago
WHYYYYY
BlindMonkey
BlindMonkey11mo 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