gulp connect.static is not a function

npm install --save serve-static

var serveStatic = require('serve-static');

原文地址:https://www.cnblogs.com/myloveblogs/p/8859263.html