ExpressBrunchJade icon indicating copy to clipboard operation
ExpressBrunchJade copied to clipboard

Type Error... no method "configure"

Open shawntleslie opened this issue 10 years ago • 1 comments

Screenshot: http://cl.ly/image/1T2e0R403D0I

Just ran this for the first time out of the box from the Brunch site and received this error. Confession: I'm new to Node.js and mostly a front-end dev. However, it seems like this is an Express 4 issue, perhaps. See here: http://stackoverflow.com/a/22265190

I don't exactly know what needs to be changed, but I thought this is something you should be aware of. Most tuts out there are all hinging on Express 3x, so there are a lot of errors popping up like this around the removal on Connect.

Thanks!

shawntleslie avatar May 29 '14 02:05 shawntleslie

This project is going to need some serious revamping. The issue, which you've correctly identified, is that the package.json file asks for the latest version of Express which has significantly changed how it does configuration. app.configure... has been deprecated and all the lines that try to use middleware under the express namespace are no longer valid (nearly all middleware has been separated into standalone modules).

sunny-mittal avatar Sep 30 '15 00:09 sunny-mittal