angular-express-seed icon indicating copy to clipboard operation
angular-express-seed copied to clipboard

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

Open srayner opened this issue 10 years ago • 4 comments

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.

srayner avatar Nov 06 '14 14:11 srayner

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());"

adriagil avatar Nov 19 '14 16:11 adriagil

@adriagil It's helpful. Thanks.

afewnotes avatar Dec 16 '14 12:12 afewnotes

@adriagil Thank you!

weiway avatar Mar 10 '15 18:03 weiway

@adriagil Thnx a bunch!!

CelticParser avatar Sep 02 '15 02:09 CelticParser