Collections defined in a package are not detected
JackAdams opened this issue · comments
Brent Abrahams commented
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');