-> IF you are getting this error, It means that Node.js or Nodemon is not installed globally or is not available in the system’s PATH.
-> So To resolve this error you need to install Nodemon globally. Install Nodemon globally you can use the below mentioned command.
npm install -g nodemon
-> For verification of installation please use the below mentioned command.
nodemon --version
This command should display the version of Nodemon if it’s installed correctly.