After connect is referenced in node, errors will always be reported with its own middleware.

  node.js, question
var connect = require('connect');
 var app = connect()

Cookie parser is not a function;
You will also be prompted when using bodyParser.
The Internet said that it was separated from connect. npm install cookieParser will be restarted.
Does bodyParser also need it? all middleware comes with it?

Middleware such as cookieParser has been separated from connect and can be used alone without loading connect.