Issues with installing NPM mongoose Issues with installing NPM mongoose mongoose mongoose

Issues with installing NPM mongoose


Remove mongoose, reinstall locally:

  1. npm uninstall mongoose run twice, to make sure any local and global installations are removed.
  2. npm install mongoose (do not use -g flag!) in your project root, from an elevated CMD.

Note the installation process, and make sure no errors come up. If anything shows that looks odd, please go ahead and add the log to your question.

Note that the warning you get regarding dependency is related to you trying to install mongoose while you are in mongoose directory. You should npm i mongoose in your project directory.