How do i fix, "All compile errors have to be fixed before you can enter playmode"?

How do i fix this error?

Assets\Samples\Cinemachine\2.6.3\Scrub Bubble support for Nested Timelines (experimental)\CinemachineTimelineEditorExtensions\TimelineEditorExtensions\TimelineEditorExtensions.cs(1,19): error CS0234: The type or namespace name ‘Timeline’ does not exist in the namespace ‘UnityEditor’ (are you missing an assembly reference?)

I have tried to remove and re-install cinemachine several times in unity 3D, it still doesn’t work.

As per this issue tracker entry it seems like you have to install the Timeline package.

Thank you. I ended up deleting the Scrub Bubble support for Nested Timelines (experimental). And it worked. Although i don’t know the effects of doing that, but for now i am able to carry on