'use strict';

// Configuration for the New Relic Node.js agent

module.exports.config = {
    app_name: process.env.NEW_RELIC_APP_NAME || 'app',
    logging: {
        filepath: process.env.NEW_RELIC_LOG || 'stdout'
    }
};

'use strict';

// Configuration for the New Relic Node.js agent

exports.config = {
    app_name: process.env.NEW_RELIC_APP_NAME || 'app',
    logging: {
        filepath: process.env.NEW_RELIC_LOG || 'stdout'
    }
};

--- 
+++ 
@@ -2,7 +2,7 @@
 
 // Configuration for the New Relic Node.js agent
 
-exports.config = {
+module.exports.config = {
     app_name: process.env.NEW_RELIC_APP_NAME || 'app',
     logging: {
         filepath: process.env.NEW_RELIC_LOG || 'stdout'
Use always "module.exports", not the alias "exports"
