'sudo mongod' works, 'mongod' doesn't - The Solution
I am currently learning how to use MongoDB and Node JS together and I was following along a tutorial but when it came to the point to start the MongoDB server, it kept failing by running mongod on the command line. The error I got was:$ mongod 2015-07-04T09:06:37.…