Skip to content

Uncaught TypeError: Convoy is not a constructor #26

Description

@anuragphadke

I am using node 18.15, and trying to get self-hosted version of Convoy to work..

const Convoy = require("convoy.js");
const convoy = new Convoy({
  api_key: "test1",
  uri: "https://test2.com",
  project_id: "test3"
});

returns:

Uncaught TypeError: Convoy is not a constructor

any idea what I am doing wrong here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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