So everything was working fine, I restarted VSCode to empty the recycle bin and now when I run ng serve I get the following error:
Cannot determine versions of "@angular/cli".
This likely means your local installation is broken. Please reinstall your packages.
Have tried deleting node-modules/re-installing packages with npm install and clearing npm cache but that doesnt work. However I did notice that Angular CLI both globally and locally was at 10.0.0 while the package.json says that Angular Compiler CLI (among other things) is at 9.1.11.
How do I fix this?