Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

Private npm package is picking up old value for config variable even after mutating it

$
0
0

I am using node-config in my express.js project. In the test file I mutated the value for a test config variable. It is getting changed successfully as it is returning new value on logging it in tes file. But my private npm package which is using the config variable still picks up the old value. Any idea why it is happening?

I tried logging the variable in test file and in npm module both values are different.


Viewing all articles
Browse latest Browse all 5049

Trending Articles