Hello again, U-Wanda,
I have had a hard to find out how to remedy this definitive error.
Error: invalid schema, expected mongodb
which occurs if any new Mongo.Collection() is declared launching any of my packaged local application.
my env. is
macOS 10.11.6
Meteor 1.4.2.3
electrify 2.2.0
I have to change the default :
self.env.MONGO_URL = process.env.MONGO_URL;
to :
self.env.MONGO_URL = 'mongodb://localhost:'+ self.port +'/meteor';
in :
my-electrified-app.app/Contents/Resources/app/node_modules/electrify-updated-test/lib/plugins/mongodb.js
I will soon try to package the same way on my Ubuntu to check if the remedy is universal.
Thank you to check and correct that from your side, and correct your tweaking help section, please.
Great regards
Hello again, U-Wanda,
I have had a hard to find out how to remedy this definitive error.
Error: invalid schema, expected mongodbwhich occurs if any new Mongo.Collection() is declared launching any of my packaged local application.
my env. is
I have to change the default :
self.env.MONGO_URL = process.env.MONGO_URL;to :
self.env.MONGO_URL = 'mongodb://localhost:'+ self.port +'/meteor';in :
my-electrified-app.app/Contents/Resources/app/node_modules/electrify-updated-test/lib/plugins/mongodb.jsI will soon try to package the same way on my Ubuntu to check if the remedy is universal.
Thank you to check and correct that from your side, and correct your tweaking help section, please.
Great regards