recurly-client-node icon indicating copy to clipboard operation
recurly-client-node copied to clipboard

TypeError: recurly.Client is not a constructor in Vercel functions

Open brunobely opened this issue 2 years ago • 0 comments

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.

brunobely avatar Feb 09 '23 22:02 brunobely