Menu Close

How to fix ng is not recognized as an internal or external command with Angular?

Sometimes, we want to fix ng is not recognized as an internal or external command with Angular.

In this article, we’ll look at how to fix ng is not recognized as an internal or external command with Angular.

How to fix ng is not recognized as an internal or external command with Angular?

To fix ng is not recognized as an internal or external command with Angular, we can run ng with npm.

To run it, we run

npm run ng <command>

to run ng with the <command> we want.

We replace <command> with the actual command we want to run with ng.

Conclusion

To fix ng is not recognized as an internal or external command with Angular, we can run ng with npm.

Posted in Angular, Angular Answers