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

Collections defined in a package are not detected #39

Open
JackAdams opened this issue Jun 11, 2015 · 0 comments
Open

Collections defined in a package are not detected #39

JackAdams opened this issue Jun 11, 2015 · 0 comments

Comments

@JackAdams
Copy link
Owner

Taken from a comment by @rogchap in #25:

I have all my collections created in a local package (which is shared across multiple meteor apps), therefore dburles:mongo-collection-instances (which is used by this package) has no affect on my collections, causing the above/similar error when calling Mongo.Collection.get(<collection-name>).

Simple fix: add mongo-collection-instances to my local package's package.json:

api.use('dburles:mongo-collection-instances');

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

1 participant