node-config requires an environment variable be set.
instead of me doing so at the env level, just put this before you var config = require('config');
process.env['NODE_CONFIG_RUNTIME_JSON'] = '/tmp/runtime.json';
node-config requires an environment variable be set.
instead of me doing so at the env level, just put this before you var config = require('config');
process.env['NODE_CONFIG_RUNTIME_JSON'] = '/tmp/runtime.json';