mike-north / typescript-courses

Mike North's TypeScript Courses
https://frontendmasters.com/teachers/mike-north/
361 stars 522 forks source link

Resolve 'Cannot find module scheduler/tracing' TypeScript Error #1119

Open hassanpdn opened 2 months ago

hassanpdn commented 2 months ago

We are encountering a TypeScript error when trying to compile the project using yarn dev-hello-ts. The error message is as follows:

../../node_modules/@types/react/index.d.ts:41:53 - error TS2307: Cannot find module 'scheduler/tracing' or its corresponding type declarations.

41 import { Interaction as SchedulerInteraction } from "scheduler/tracing";

Steps to Reproduce:

AshwinRamesh commented 1 week ago

I am also getting this issue with same reproducible steps. Does anyone have a fix?