'nodemon' is not recognized as an internal or external command
Table of contents
Introduction
In this article I will discuss how to solve the error 'nodemon' is not recognized as an internal or external command
. This can be a common error for a beginner in node/express.js and this article will show you a quick and easy solution to fixing this.
Solution
To solve this error you can simply type:
npx nodemon server.js
Make sure that you type the name of your main file in your Node.js application, this is usually the server.js file or the index.js file.