My Oracle Support Banner

Unable To Resolve nconf Environment Variables Within Server Side Extension (Doc ID 2770720.1)

Last updated on APRIL 29, 2021

Applies to:

Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.


Based on documentation and best practices we are using nconf module to retrieve CX Commerce environment variables within Server Side Extension 

Develop server-side extensions


Before you upload a server-side extension to Commerce, be sure to clean out the node_modules folder. You should include only the modules that the application requires. Also, do not upload any of the Commerce modules listed as dependencies, such as Express, Winston, or Nconf. These modules, if included in your node_modules folder, may cause unpredictable behavior, because the Commerce SSE framework will use the local node_modules copy instead of the global copy.


However,  nconf is not available where an exception is thrown at var nconf = require('nconf');






To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.