Angular CLI ng Error: You need to specify a command before moving on. Use --help to view the available commands

Code2care - Angular error fix
Error: You need to specify a command before moving on. 

Use '--help' to view the available commands

If you see the above error message when you are using ng commands while using Angular with node.js, the reason could be that you may have updated ng, the solution is to uninstall and install angular cli,

% npm uninstall -g @angular/cli 


% npm install -g @angular/cli

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!