Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot find module 'morgan' #14

Open
mathurawasirishabh opened this issue Apr 16, 2017 · 5 comments
Open

Error: Cannot find module 'morgan' #14

mathurawasirishabh opened this issue Apr 16, 2017 · 5 comments

Comments

@mathurawasirishabh
Copy link

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

@estherjk
Copy link
Owner

Did you receive any errors when running npm install?

@kefelhelou
Copy link

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

@purishubh
Copy link

Hey,

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

npm install morgan

@lakshmankotiki
Copy link

lakshmankotiki commented Jun 19, 2019

@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

@elvinhatamov
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants