Node js when started for the first time with mongodb give ns(namespace) not found error

Hi @Henil_Mehta,

Welcome to the MongoDB Community :sparkles:

It usually occurs when you perform actions on collections that don’t exist.

Could you please share the code snippet you are executing and the error log you are getting? It will help the community to assist you better.

Best regards,
Kushagra

1 Like