Most middleware (like multipart) is no longer bundled with Express and must be installed separately....https://github.com/senchalabs/connect#middleware
版本问题
首先需要安装:
npm install --save connect-multiparty
把
app.use(express.multipart());
app.use(require('connect-multiparty')());
nodejs使用express,express版本3.5.3使用中间件app.user(express.multipart())异常问题
原文地址:http://blog.csdn.net/huangjihua0402/article/details/43197871