Language, language version, and OS: Node v10.13.0 on Ubuntu 16.04
Issue description
I'm getting the following error when trying to start my server:
Error: Missing publicKey
at new Config (/myserver/node_modules/braintree/lib/braintree/config.js:31:36)
at Object.connect (/myserver/node_modules/braintree/lib/braintree.js:38:46)
at file:///myserver/routes/utils/braintreeUtils.mjs:3:34
at ModuleJob.run (internal/modules/esm/module_job.js:96:12)
Here's my code under /routes/utils/braintreeUtils.mjs:
General information
Issue description
I'm getting the following error when trying to start my server:
Here's my code under
/routes/utils/braintreeUtils.mjs
:I have all my environment variables set, so I'm not sure why I'm getting this error. Anything helps, thanks!