npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve
//first you need to be sure that you installed npm
//(this is command line for installation)
npm install -g npm
//Solution
//after that you need to run this command
npm init -y
//now install your package
npm i -g nodemon