I am getting the error you need to specify db path /data/db, Even after i specified it !
You need to specify dbpath when you start mongod, not when you start the validation script. The validation script takes no argument.
As I can see in the screenshot, you have specified the
data/db rather than
/data/db/. Please change it. There is a difference between these two directories. Please refer this post for more information on this.
Hope it helps!
Please let me know if you have any other questions.
Curriculum Support Engineer