events.js:85
throw er; // Unhandled 'error' event
^
Error: connection closed
at null.<anonymous> (/Users/yuman/Documents/htdocs/Demo/mean/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:608:24)
at emit (events.js:104:17)
at null.<anonymous> (/Users/yuman/Documents/htdocs/Demo/mean/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:171:15)
at emit (events.js:110:17)
at Socket.<anonymous> (/Users/yuman/Documents/htdocs/Demo/mean/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection.js:550:12)
at Socket.emit (events.js:107:17)
at TCP.close (net.js:485:12)
源代码是MEAN web 开发一书里的,
上面贴出来的的是报错
有遇到过的请指导
qq_神话_6
相关分类