npm install doesn't work for installing nodemon in the devDependencies

Changing in package.json file
"nodemon": "~1.0.15", to "nodemon": "", shows a warning
npm WARN prefer global nodemon@1.4.1 should be installed with -g
nodemon install requires admin access and must be installed globally using the following command,
cc: @dcsan
npm installdoesn't work for installingnodemonin thedevDependenciesChanging in
package.jsonfile"nodemon": "~1.0.15",to"nodemon": "",shows a warningnodemoninstall requires admin access and must be installed globally using the following command,cc: @dcsan