The "@angular/compiler-cli" package was not properly installed.

C++
npm install -g @angular/cli@latest
npm install
ng serve
rm -rf node_modules dist
npm uninstall -g @angular/cli
npm cache clean

Source

Also in C++: