Skip to content

Error: Super expression must either be null or a function #154

Description

@nederev

Describe the bug

When using DiscussionEmbed in NextJS project i get error: Error: Super expression must either be null or a function

To Reproduce

Insert code:


          <DiscussionEmbed
            shortname="MY_SHORT_NAME"
            config={{
              url: `MY_URL`,
              identifier: path,
              title,
              language: 'en_EN',
            }}
          />

Expected behavior

should render discussion

Screenshots

Screenshot 2024-02-17 at 17 50 16
n.

Specifications:

  • OS: OS X 13.6.4
  • Package version: 1.1.5
  • Node version: 20

Additional context

"next": "^13.5.6",

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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