face-detection-node-opencv icon indicating copy to clipboard operation
face-detection-node-opencv copied to clipboard

Error: Cannot find module 'morgan'

Open mathurawasirishabh opened this issue 7 years ago • 5 comments

running $ node server.js gives error :Error: Cannot find module 'morgan'

mathurawasirishabh avatar Apr 16 '17 09:04 mathurawasirishabh

Did you receive any errors when running npm install?

estherjk avatar Apr 17 '17 23:04 estherjk

I had the same problem, and It was solved with npm install

kefelhelou avatar Aug 27 '17 08:08 kefelhelou

Hey,

I have the same error, just use the below command for the same

npm install morgan

purishubh avatar Feb 05 '18 05:02 purishubh

@mathurawasirishabh @kefelhelou @purishubh I think mongoose-morgon also do the same thing. npm install mongoose-morgan Worked for me. Seems there is some issue when installing morgon

lakshmankotiki avatar Jun 19 '19 06:06 lakshmankotiki

if npm install morgan does not work , might be typing error in server.js

elvinhatamov avatar Aug 09 '22 15:08 elvinhatamov