I am trying to do a homework for a mongodb uni course. They gave us some files, instructions are:
run npm install mongodb then node app.js<
npm install mongodb
node app.js
For node_modules you have to follow the below steps
1) In Command prompt -> Goto your project directory.
2) Command :npm init
npm init
3) It asks you to set up your package.json file
4) Command: npm install or npm update
npm install
npm update