I run the command npm install -g @angular/cli and after i tried to run my app it says, Cannot find module \'@angular/compiler\' in the terminal. How can i install the compil
Try this
npm uninstall angular-cli
npm install @angular/cli --save-dev