Node.js-Stripe-Shopping-Cart icon indicating copy to clipboard operation
Node.js-Stripe-Shopping-Cart copied to clipboard

Fixed the "dotenv.load() is not a function" error

Open gaebar opened this issue 3 years ago • 0 comments
trafficstars

To overcome the dotenv.load() is not a function" error while trying to run a Node script, we should now use the dotenv.config()`. Please refer here to the NPM documentation (https://www.npmjs.com/package/dotenv)

gaebar avatar Aug 24 '22 00:08 gaebar