A
A
Alexey Yakovlev2020-02-25 18:43:22
MongoDB
Alexey Yakovlev, 2020-02-25 18:43:22

Can't start mongodb server, what should I do?

I downloaded mongodb and also downloaded it to the project - npm i mongodb --save, I write mongod in the terminal with the project and an error pops up:

mongod : Имя "mongod" не распознано как имя командлета, функции, файла сце
нария или выполняемой программы. Проверьте правильность написания имени, а
 также наличие и правильность пути, после чего повторите попытку.
строка:1 знак:1
+ mongod
+ ~~~~~~
    + CategoryInfo          : ObjectNotFound: (mongod:String) [], Command 
   NotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Bohdan Petrov, 2020-02-25
@mindyourlifeguide

mongodb should be installed on the system as far as I know.
I installed it on my system according to this instruction. Look for yours on the Internet.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question