You seem to not be depending on "@angular/core" and/or "rxjs". This is an error.
snippet in javascript

You seem to not be depending on "@angular/core" and/or "rxjs". This is an error.

user7515

sudo npm uninstall -g angular-cli @angular/cli

npm cache clean --force

sudo npm install -g @angular/cli