Error: Class extends value undefined is not a constructor or null

Hi, I’m new with React I’m following the tutorials however I’m getting an error the following error:
Chart.js:4 Uncaught TypeError: Class extends value undefined is not a constructor or null
at ./src/components/Chart.js (Chart.js:4:1)
at options.factory (react refresh:6:1)
at webpack_require (bootstrap:24:1)
at fn (hot module replacement:62:1)
at ./src/index.js (Chart.js:32:1)
at options.factory (react refresh:6:1)
at webpack_require (bootstrap:24:1)
at startup:7:1
at startup:7:1

I checked my node version and update it like some forums suggest, but nothing changes. Does someone know how to fix it? Thanks.

Can you include your Chart.js code?