I am following the tutorials at docs.mongodb.org, I have completed the first tutorial which was to install mongodb on a windows machine. I am now at the second stage which is ge
Are you sure that you have specified the correct paths?
You need to be in the right directory, i.e.
C:\Program Files\MongoDB\bin
and the path you are installing into needs to be the correct one
i.e.
mongod --dbpath
C:\Users\Name\Documents\myWebsites\nodetest1
A folder named "data" must also exist in your project folder.
I got the same error and this worked for me.