0

I have used "npm install -g @angular/cli" to install the angular cli even though I have used the -g it is not installed globally and shows ng not found error constantly I have uninstalled and installed the angular cli many times even I have cleared the cache but it constantly shows the "ng not found" error

Need a solution for how to overcome this

1 Answers1

0

Have you linked CLI and NPM? If not, you should do that and give it a try. Refer this

Kaashan
  • 352
  • 3
  • 12
  • I have tried that but still that showed the same error then I uninstalled the git and angular cli and have reinstalled now its working fine. Thanks for your answer – Gnaneshwari Gunasekaran Aug 21 '23 at 05:38