I have installed Angular/cli and then try to run command ng serve then below error is throwing. I have tried lot of thing like uninstall angular/cli, npm cache clean, etc
Could you check that your "@angular/compiler" in your dependencies is compatible with angular/cli version.
For example :
"devDependencies": { "@angular/cli": "1.4.8", "@angular/compiler-cli": "4.4.6",
is compatible with :
"@angular/compiler": "4.4.6",