This version of CLI is only compatible with Angular versions ^10.0.0-beta || >=10.0.0 <11.0.0, but Angular version 8.0.1 was found instead. code example
Example: This version of CLI is only compatible with Angular versions 0.0.0 || ^10.0.0-beta || >=10.0.0 <11.0.0, but Angular version 9.1.3 was found instead.
npm install --save -dev @angular/cli@latest