Skip to content

TypeError: NextCaptcha is not a constructor #1

@NabiKAZ

Description

@NabiKAZ

I use nodejs ESM6 and put this:

import NextCaptcha from 'nextcaptcha-ts';

get me this error:

const nextCaptcha =  new NextCaptcha(apiKey);
                     ^
TypeError: NextCaptcha is not a constructor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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