In order to use MontiAPM Errors we must include meteorhacks:zones package in our projects.
But this package is incompatible with ostrio:files.
Once the zones package included, there is a client error showing up.
Anyone else found this problem ?
Error: Exception in template helper:
TypeError: this.forEach is not a function at Object.map (http://localhost:3000/packages/minimongo.js?hash=86995822b72c50ab992ee0d964b022c375d36cec:1601:10)
the minimongo code is
map(callback, thisArg) {
const result = [];
this.forEach((doc, i) => {
result.push(callback.call(thisArg, doc, i, this));
});
return result;
}
the caller code is
return MyFileCollection.find(query).each(); // code to get ostrio:files