Skip to content
This repository was archived by the owner on Aug 30, 2022. It is now read-only.
This repository was archived by the owner on Aug 30, 2022. It is now read-only.

[Bug]: Uncaught TypeError: Class extends value undefined is not a constructor or null #106

@MilanObrenovic

Description

@MilanObrenovic

Prerequisites

  • I have checked that @thirdweb-dev/react and the @thirdweb-dev/sdk are on the latest stable version and the bug still exists.
  • I have checked existing issues and I was unable to find a duplicate of this.

Describe the bug
After following this tutorial: https://www.youtube.com/watch?v=nXMF7aeHXuo
within the first 3-4 minutes of the video when i try to run the react app i'm getting a console log error "Uncaught TypeError: Class extends value undefined is not a constructor or null"

Expected behavior
Run the react app successfully

Screenshots
Error:
image

Code that caused this error (line 9 and 11):
image

Also code that caused this error (line 9-12, line 23):
image

Package versions:

  • @thirdweb-dev/react: [^2.4.8]
  • @thirdweb-dev/sdk: [^2.3.27]
  • node: [v16.15.0]
  • typescript (if applicable): [^4.6.3]

Reproduction link
None

Additional context
None

Metadata

Metadata

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