recurly-client-node
recurly-client-node copied to clipboard
TypeError: recurly.Client is not a constructor in Vercel functions
Describe the bug
I get the following error when trying to instantiate a Client in my Vercel deployment (running as a cloud function-- it works normally locally): TypeError: recurly.Client is not a constructor
. How can I debug this?
Your Environment
- Which version of this library are you using?
^3.26.0
- Which version of the language are you using? Locally, Node v17.0.1. In production, I tried with both 16.x and 18.x—same error.