Npm installmongodb-save after successful installation
mongod –dbpath=/data –port 27017
Mongod’ is not an internal or external command, nor is it a runnable program or batch file.
I went to look for it and found that it was not installed in Mongoose CMD.
G installation also useless, is it Why?
Mongodb installed by npm is only a plug-in for nodejs program to communicate with mongodb. mongodb itself requires you to install it yourself. According to different installation methods of the system, you can go to mongodb’s official website to see the documents.