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

后端 未结 6 483
失恋的感觉
失恋的感觉 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 13:10

    You don't have MongoDB installed. Follow the directions for your system to install it: http://docs.mongodb.org/manual/installation/

    From the habitRPG docs:

    Before starting make sure to have MongoDB, NodeJS and npm and Git installed and set up.

提交回复
热议问题