Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meteor 1.3: Uncaught Error: use "new" to construct a Mongo.Collection #158

Closed
lucnat opened this issue Mar 29, 2016 · 6 comments
Closed

Comments

@lucnat
Copy link

lucnat commented Mar 29, 2016

When I create a collection
Parties = new Ground.Collection('parties', { connection: null });

@zevsuld
Copy link

zevsuld commented Mar 31, 2016

I have same issue. @LucNaterop did you fixed it?

@Andrew1431
Copy link

So I installed this package and STARTED getting this error. Didn't get it before

meteortoys:allthings

Only problem is, that means it could be one of any of the following packages.

Clean list: http://pastebin.com/VsswjubW

accounts-base added, version 1.2.4 dburles:mongo-collection-instances added, version 0.3.4 ddp-rate-limiter added, version 1.0.2 email added, version 1.0.10 gwendall:body-events added, version 0.1.6 lai:collection-extensions added, version 0.1.4 localstorage added, version 1.0.7 meteortoys:allthings added, version 2.3.1 meteortoys:authenticate added, version 2.1.0 meteortoys:autopub added, version 2.1.0 meteortoys:blueprint added, version 2.1.0 meteortoys:email added, version 2.1.0 meteortoys:hotreload added, version 2.1.0 meteortoys:listen added, version 2.1.0 meteortoys:method added, version 3.0.2 meteortoys:pub added, version 3.0.2 meteortoys:result added, version 2.1.0 meteortoys:shell added, version 2.1.0 meteortoys:status added, version 2.1.0 meteortoys:sub added, version 2.1.0 meteortoys:throttle added, version 2.1.0 meteortoys:toykit added, version 2.2.1 msavin:jetsetter added, version 1.5.2 msavin:mongol added, version 1.6.2 rate-limit added, version 1.0.2 service-configuration added, version 1.0.7 session added, version 1.1.3

@AVapps
Copy link

AVapps commented Apr 1, 2016

Try this:
Remove both ground:db and meteortoys:allthings then add meteortoys:allthings then ground:db in this order.
I have this error with any package touching collection installed after ground:db...

Le 1 avr. 2016 à 06:26, Andrew Hartwig [email protected] a écrit :

So I installed this package and STARTED getting this error. Didn't get it before

meteortoys:allthings

Only problem is, that means it could be one of any of the following packages.

accounts-base added, version 1.2.4
dburles:mongo-collection-instances added, version 0.3.4
ddp-rate-limiter added, version 1.0.2
email added, version 1.0.10
gwendall:body-events added, version 0.1.6
lai:collection-extensions added, version 0.1.4
localstorage added, version 1.0.7
meteortoys:allthings added, version 2.3.1
meteortoys:authenticate added, version 2.1.0
meteortoys:autopub added, version 2.1.0
meteortoys:blueprint added, version 2.1.0
meteortoys:email added, version 2.1.0
meteortoys:hotreload added, version 2.1.0
meteortoys:listen added, version 2.1.0
meteortoys:method added, version 3.0.2
meteortoys:pub added, version 3.0.2
meteortoys:result added, version 2.1.0
meteortoys:shell added, version 2.1.0
meteortoys:status added, version 2.1.0
meteortoys:sub added, version 2.1.0
meteortoys:throttle added, version 2.1.0
meteortoys:toykit added, version 2.2.1
msavin:jetsetter added, version 1.5.2
msavin:mongol added, version 1.6.2
rate-limit added, version 1.0.2
service-configuration added, version 1.0.7
session added, version 1.1.3


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

@Andrew1431
Copy link

Thank you! I'll try that out.

@raix
Copy link

raix commented Apr 6, 2016

#153 (comment)

@lucnat
Copy link
Author

lucnat commented Apr 7, 2016

@raix Thanks for the awesome work. The issue is resolved 2.0.0-alpha.2

@lucnat lucnat closed this as completed Apr 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants