Error: Cannot find module '@angular/compiler-cli
By executing the npm i @angular/compiler-cli
everything is again working perfectly.
Just follow steps ->
Delete your node_modules folder manually or rm -r node_modules
Clean npm cache -> npm cache clean
Install npm by running npm install