Skip to content

TypeError: PercyClient is not a constructor #403

@holdenhinkle

Description

@holdenhinkle

I'm getting the following error:

const client = new PercyClient(options);
                 ^

TypeError: PercyClient is not a constructor

When I run:

const PercyClient = require('@percy/client');

function run() {
  const client = new PercyClient();
};

run();

Please advise. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions