mongoDB error: Error: failed to connect to [localhost:27017]

后端 未结 6 509
失恋的感觉
失恋的感觉 2021-02-06 12:45

I\'m trying to install habitrpg locally but I keep getting a mongoDB error after typing node src/seed.js:

Error: failed to connect to [localhost:270         


        
6条回答
  •  抹茶落季
    2021-02-06 12:55

    After installing MongoDb you have to add the directory "data\db" under the C:\ directory, then you should start the mongod.exe

提交回复
热议问题