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

Most middleware (like errorHandler) is no longer bundled with Express #34

Open
srayner opened this issue Nov 6, 2014 · 4 comments
Open

Comments

@srayner
Copy link

srayner commented Nov 6, 2014

I get this error;

Most middleware (like errorHandler) is no longer bundled with Express and must be installed seperatly. Please see https://github.com/senchalabs/connect#middleware

If it's just me then close this.

@adriagil
Copy link

As is solved on issue #29, justinireland proposes the following:
"run: npm install express-error-handler
change line 9 to: errorHandler = require('express-error-handler'),
change line 36 to: app.use(errorHandler());"

@afewnotes
Copy link

@adriagil It's helpful. Thanks.

@weiway
Copy link

weiway commented Mar 10, 2015

@adriagil Thank you!

@CelticParser
Copy link

@adriagil Thnx a bunch!!

sri7vasu added a commit to sri7vasu/angular-express-seed that referenced this issue Sep 16, 2015
Added npm install express-error-handler to get away with the error mentioned in btford#34
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

5 participants