meteor-editable-text icon indicating copy to clipboard operation
meteor-editable-text copied to clipboard

Collections defined in a package are not detected

Open JackAdams opened this issue 10 years ago • 0 comments

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');

JackAdams avatar Jun 11 '15 04:06 JackAdams