How Do You Troubleshoot the ng Error “—–Mg: scratch (fundamental)—-All——————“?

Problem scenario
You run this command ng --version, but you receive a blank screen at the terminal like this:

-----Mg: scratch (fundamental)----All------------------

What do you do?


1. Use "ctrl-z" to exit out.

2. Run these commands:

sudo apt remove ng-common
sudo npm uninstall -g @angular/cli
sudo npm install -g @angular/cli

3. You are done.

Leave a comment

Your email address will not be published. Required fields are marked *