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
I think that you don't have an environmental variable declared. Assuming that your MongoDB installation is C:\ProgramFiles\MongoDB\Server\YOUR_VERSION_NUMBER\
, you should just add the bin
folder path of that version of MongoDB to your PATH system environment variable.
Here's a link where you can find the way to do that without complications : http://www.computerhope.com/issues/ch000549.htm