Skip to content

Runtime error - "T is not a constructor" #106

@HenryMHH

Description

@HenryMHH

Environment

SDK version 7.0.0
React v18

Issue

The following error occurs when attempting to create an instance of ClientBuilder.

Code Error
Image Image

Root cause

The issue stems from incorrectly importing an ES module default export using CommonJS require() syntax without the .default property accessor.

Image

Metadata

Metadata

Assignees

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