Having problem to install MongoDB in Groomide

I try to install MongoDB in Groomide.
But I am facing an unknown error that I have no idea about it.
Here is my process that I followed.
Step 01:I made a new container.

Step 02: I used node.js as my stack language.

Step 03: Checked that two options and create a new container.

Step 04: When I typed mongod in my terminal it’s giving an error.

Do you have any suggestions to fix this?

Hi @Plabon_Kumer_Sarker.

This is by no means a solution to your problem but a suggestion. Look at the beginning of the error logs in the console. You will notice exception in initAndListen: NonExistentPath... error message. That appears to be a mongoDB issue. Googling the error took me to the following sites. I hope they will help you resolve the issue.

1 Like

Thank you so much :heart:

Here is how I fix this issue.
Step 01: I have to make a new directory/folder by my own call data using this command

mkdir data

Step 02: Then I have use this command,

mongod --dbpath data

2
That’s it :grin:
Happy coding :hugs:
Thanks to @nibble

1 Like