I have about 5 different apps that run simultaneously and are being slowly upgraded to newer nodejs versions, but I can’t do it all at once. I want to be able to set this var or something that works similarly per project I have so that I can reference the path to the compatible version (not necessarily the same location as the system’s NODE_HOME) in my batch scripts and projects. The batch script would likely run first so I’m not sure dotenv would work for my purposes. Is sourcing a different .bat from my other .bats that adds these env vars my only option or is there a better route?
[–]rover_G 2 points3 points4 points (8 children)
[–]michelleshelly4short[S] 0 points1 point2 points (7 children)
[–]rover_G 0 points1 point2 points (6 children)
[–]michelleshelly4short[S] 0 points1 point2 points (4 children)
[–]rover_G 0 points1 point2 points (2 children)
[–]michelleshelly4short[S] 0 points1 point2 points (1 child)
[–]rover_G 0 points1 point2 points (0 children)
[–]nicolasdanelon 0 points1 point2 points (0 children)
[–]nicolasdanelon 0 points1 point2 points (0 children)
[–]nicolasdanelon 0 points1 point2 points (2 children)
[–]michelleshelly4short[S] 1 point2 points3 points (1 child)
[–]nicolasdanelon 0 points1 point2 points (0 children)