[Solved] ANGULAR - Error: You need to specify a command before moving on. Use '--help' to view the available commands
Problem:
While creating a new angular project I am facing the -
Error: You need to specify a command before moving on. Use '--help' to view the available commands
Solution:
Uninstall Angular old version & Install latest version.
Latest version 14.0.0 of angular/cli has released at June 6, 2022. As the new version was Released some old versions are deprecated.
So If You are using the OLD version then you might face this error. So
Solution is Just Update your angular/cli to its latest version By Reinstalling it.
npm uninstall -g @angular/cli
npm install -g @angular/cli
This will help to update your angular version in your system and to check.
Note: you have to give ng version
instead ng --version
.
Thank you for reading the article. For any help feel free to contact with us.