Skip to content

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

@brunobely

Description

@brunobely

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions