Nodejs, why doesn't my node environment variable get


–1 vote
asked Mar 15, 2016 by good_8231 (250 points)
I'm trying to build node module where in instances I'll pass in path of json config file, and I'll want to set config file location as environment variable.

2 Answers

–1 vote
answered Apr 30, 2016 by aBrackins (560 points)
selected Apr 30, 2016 by GurAre
 
Best answer
Kinda late but here is what I did after encountering this problem
You can find the source codes in this location Environment Variables (Windows) - msdn.microsoft.com
+1 vote
answered May 6, 2016 by Hfrcould (420 points)
But I have posted it here to help someone who have specific requirement like me

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...