skip to Main Content

Mongodb – I got following error while developing in MEAN stack : Cannot find module 'mongojs'

I ran command: node server in bash on Ubuntu and below is the error I got: node:internal/modules/cjs/loader:936 throw err; ^ Error: Cannot find module 'mongojs' Require stack: - /home/nishil/Documents/contactListApp/server.js at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Module.require (node:internal/modules/cjs/loader:1005:19) at require…

VIEW QUESTION
Back To Top
Search