1

Hello world: this is my first stackoverflow question. After searching through other questions and the Meteor documentation I can't seem to figure this one out. I'm working with a clone of the scotch.io meteor-polling app, and I wanted to add a new Mongo collection, which started throwing errors(STDERRs with no messages) when I tried to run the app with it included. So, I removed all references to the collection: my code is the same as it was when it was working properly with just one collection, and I'm still getting errors. Very puzzled. Tried Meteor reset and update to no avail.

here's my repo: https://github.com/abraxasrex/meteor-polling

the code that starting giving errors is the current master.

I'm fairly certain from my debugging that it was either the insertion of the collection or adding votes=[] to newpoll in client/components/poll-form.js(?)

4

1 回答 1

1

错误日志提到 msavin:mongol。

TypeError: Property 'undefined' of object [object Object] is not a function
at Package (packages/meteortoys_toykit/packages/meteortoys_toykit.js:290:1)

如果您删除它,您的应用程序将再次运行。

于 2015-09-30T03:02:54.793 回答