Meteor-Community-Packages / mongo-collection-instances

🗂 Meteor package allowing Mongo Collection instance lookup by collection name

Home Page:http://packosphere.com/dburles/mongo-collection-instances

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wierd Issue

patrickml opened this issue · comments

In production mode this package isnt picking up all of my collections. Most of my collection live in a package lib, because we use the same collections for multiple apps. Any collections imported from a package are not available via.get() or getAll(). If you just run your app locally with --production you can replicate this issue.

In order to fix the issue I had to add the package as in import on my package. Its odd that this happens only in production, but maybe the docs should be updated to notify users.

Reopened so my previous comment could be considered

Seems odd that it was working locally, are you able to reproduce it on an isolated app?

This package has been recently updated, have you updated it?

Is there any other information you have that may help me see something on my end?