npm install --save serve-static var serveStatic = require('serve-static'); 转载于:https://www.cnblogs.com/myloveblogs/p/8859263.html