Itzik.B
Itzik.B

Reputation: 1076

The package 'mongodb' is not recognized after installing it using NodeJS

I have install mongodb using NodeJS using this command npm i mongodb -g and when i call it in the CMD its give an error that is not recognized the command.

what could it be?

Upvotes: 1

Views: 705

Answers (1)

Ben Nyberg
Ben Nyberg

Reputation: 952

When you npm install mongodb that is the driver for NodeJS to run MongoDB. You still need to install mongodb itself. Instructions for that can be found here: https://docs.mongodb.com/manual/installation/

Upvotes: 3

Related Questions