阅读背景:

TypeError: Object{…}没有方法'找到' -当使用mongoose与express。

来源:互联网 

I'm having trouble getting data from MongoDB using mongoose schemas with express. I first tested with just mongoose in a single file (mongoosetest.js) and it works fine. But when I start dividing it all up with express routes and config files, things start to break. I'm sure it's something simple, but I've spent the last 3 hours googling and trying to figure out what I'm doing wrong and can't find anything that matches my process enough to compare.I'm having trouble getting data from MongoDB us




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: