Skip to content

DB invalid schema #2

@xlinbsd

Description

@xlinbsd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions