Open joshterrill opened 9 years ago
I came across same issue. I resolved this by following these steps.
First of all remove express folder from Sharefest/node_modules/express Then install express 4.13.x. comment out these lines from server.js // app.use(express.json()); // app.use(compression()); Replace from server.js app.configure('development', function () { app.configure('production', function () { with if (app.get('env') === 'development') { if (app.get('env') === 'production') { Respectively. Now Replace all of these lines from server/lib/router.js res.send(statusCode, resObject); with res.status(statusCode).send(resObject); Now Replace these lines from server/lib/router.js res.sendfile() with res.sendFile();
Any news on this issue? Would be interested in hearing, as I'm also having this problem. -Michael.
Has this project been abandoned?
Seems like something is wrong with the middleware.