The "@angular/compiler-cli" package was not properly installed.
https://github.com/angular/angular-cli/issues/5654
Easiest way to debug any CLI error is to just generate a new project and compare files like your package.json: ng new temporary
Setting up an Angular working app is still so tedious. I think this should be addressed by core team. If the team is creating an awesome product, then it should be awesome to use it too. Fixing Angular setup problems are like finding a pearl in shell.
https://github.com/angular/angular-cli/issues/5654
My fix:
delete node_modules
npm cache clean --force
npm install
Up and running! P.s: Moving @angular/cli to dependencies is wrong, it belongs to devDependencies
https://github.com/angular/angular-cli/issues/5654
My fix was to set production to false and after that local npm install
sudo npm config set -g production false
npm install
https://github.com/angular/angular-cli/issues/5654
Easiest way to debug any CLI error is to just generate a new project and compare files like your package.json: ng new temporary
Setting up an Angular working app is still so tedious. I think this should be addressed by core team. If the team is creating an awesome product, then it should be awesome to use it too. Fixing Angular setup problems are like finding a pearl in shell.
https://github.com/angular/angular-cli/issues/5654
My fix:
delete node_modules
npm cache clean --force
npm install
Up and running! P.s: Moving @angular/cli to dependencies is wrong, it belongs to devDependencies
https://github.com/angular/angular-cli/issues/5654
My fix was to set production to false and after that local npm install
sudo npm config set -g production false
npm install