Issues with installing NPM mongoose
Remove mongoose, reinstall locally:
npm uninstall mongoose
run twice, to make sure any local and global installations are removed.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.