CRUD app of mongoDB is running perfectly in vscode terminal but its not working in independent terminal like cmd or git bash

42 views Asked by At

In the vscode terminal its running perfectly But in any independent terminal like Git bash or cmd its throwing error output of that in git bash output of that in cmd GitHub URL

I don't know why this error is coming, can you please help me in this ? I tried out some solutions which are availbale on stackoverflow and on some other platforms but they are also not working.

1

There are 1 answers

1
Kannu Mandora On

You have to check your path first, where you want to run your command. In first image your terminal path is /d/web tutorials/codes/customer-cli and in second image terminal path is C:\Windows\System32

Your project is situated in D directory but when you open external terminal then, the terminal is not opening in your folder instead it's open in C directory