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

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

npm cache clean --force

sudo npm install -g @angular/cli

Source

Also in JavaScript: