react icon indicating copy to clipboard operation
react copied to clipboard

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

Open MilanObrenovic opened this issue 3 years ago • 0 comments

Prerequisites

  • [x] I have checked that @thirdweb-dev/react and the @thirdweb-dev/sdk are on the latest stable version and the bug still exists.
  • [x] 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

MilanObrenovic avatar Jul 15 '22 20:07 MilanObrenovic