Hi everyone,
I’m pretty new to Meteor and so far i’m just playing around with the simple-todos example application.
It all works fine and using the local MongoDB I can insert various tasks etc.
Now I want to connect this application to an existing MongoDB Atlas and add tasks using that database.
However, when I enter my application directory and type:
SET MONGO_URL=“mongodb://:@******-shard-00-00-ptsbj.mongodb.net:27017,******-shard-00-01-ptsbj.mongodb.net:27017,******-shard-00-02-ptsbj.mongodb.net:27017/?ssl=true&replicaSet=******-shard-0&authSource=admin”
Followed by:
Meteor
I get:
W20170301-21:58:32.871(0)? (STDERR) C:\Users\George\AppData\Local.meteor\packages\meteor-tool\1.4.2_7\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:280
W20170301-21:58:33.261(0)? (STDERR) throw(ex);
W20170301-21:58:33.262(0)? (STDERR) ^
W20170301-21:58:33.264(0)? (STDERR)
W20170301-21:58:33.264(0)? (STDERR) Error: invalid schema, expected mongodb
W20170301-21:58:33.264(0)? (STDERR) at module.exports (C:\Users\George\AppData\Local.meteor\packages\npm-mongo\2.2.16_1\npm\node_modules\mongodb\lib\url_parser.js:18:11)
W20170301-21:58:33.265(0)? (STDERR) at connect (C:\Users\George\AppData\Local.meteor\packages\npm-mongo\2.2.16_1\npm\node_modules\mongodb\lib\mongo_client.js:289:16)
W20170301-21:58:33.265(0)? (STDERR) at Function.MongoClient.connect (C:\Users\George\AppData\Local.meteor\packages\npm-mongo\2.2.16_1\npm\node_modules\mongodb\lib\mongo_client.js:113:3)
W20170301-21:58:33.265(0)? (STDERR) at new MongoConnection (packages/mongo/mongo_driver.js:175:11)
W20170301-21:58:33.266(0)? (STDERR) at new MongoInternals.RemoteCollectionDriver (packages/mongo/remote_collection_driver.js:4:16)
W20170301-21:58:33.266(0)? (STDERR) at Object. (packages/mongo/remote_collection_driver.js:38:10)
W20170301-21:58:33.267(0)? (STDERR) at Object.defaultRemoteCollectionDriver (packages\underscore.js:784:19)
W20170301-21:58:33.268(0)? (STDERR) at new Mongo.Collection (packages/mongo/collection.js:99:40)
W20170301-21:58:33.268(0)? (STDERR) at meteorInstall.imports.api.tasks.js (imports/api/tasks.js:3:22)
W20170301-21:58:33.272(0)? (STDERR) at fileEvaluate (packages\modules-runtime.js:197:9)
=> Exited with code: 1
W20170301-21:58:36.917(0)? (STDERR) C:\Users\George\AppData\Local.meteor\packages\meteor-tool\1.4.2_7\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:280
W20170301-21:58:36.919(0)? (STDERR) throw(ex);
W20170301-21:58:36.920(0)? (STDERR) ^
W20170301-21:58:36.920(0)? (STDERR)
W20170301-21:58:36.921(0)? (STDERR) Error: invalid schema, expected mongodb
W20170301-21:58:36.922(0)? (STDERR) at module.exports (C:\Users\George\AppData\Local.meteor\packages\npm-mongo\2.2.16_1\npm\node_modules\mongodb\lib\url_parser.js:18:11)
W20170301-21:58:36.923(0)? (STDERR) at connect (C:\Users\George\AppData\Local.meteor\packages\npm-mongo\2.2.16_1\npm\node_modules\mongodb\lib\mongo_client.js:289:16)
W20170301-21:58:36.923(0)? (STDERR) at Function.MongoClient.connect (C:\Users\George\AppData\Local.meteor\packages\npm-mongo\2.2.16_1\npm\node_modules\mongodb\lib\mongo_client.js:113:3)
W20170301-21:58:36.924(0)? (STDERR) at new MongoConnection (packages/mongo/mongo_driver.js:175:11)
W20170301-21:58:36.925(0)? (STDERR) at new MongoInternals.RemoteCollectionDriver (packages/mongo/remote_collection_driver.js:4:16)
W20170301-21:58:36.925(0)? (STDERR) at Object. (packages/mongo/remote_collection_driver.js:38:10)
W20170301-21:58:36.928(0)? (STDERR) at Object.defaultRemoteCollectionDriver (packages\underscore.js:784:19)
W20170301-21:58:36.929(0)? (STDERR) at new Mongo.Collection (packages/mongo/collection.js:99:40)
W20170301-21:58:36.930(0)? (STDERR) at meteorInstall.imports.api.tasks.js (imports/api/tasks.js:3:22)
W20170301-21:58:36.930(0)? (STDERR) at fileEvaluate (packages\modules-runtime.js:197:9)
=> Exited with code: 1
W20170301-21:58:41.403(0)? (STDERR) C:\Users\George\AppData\Local.meteor\packages\meteor-tool\1.4.2_7\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:280
W20170301-21:58:41.405(0)? (STDERR) throw(ex);
W20170301-21:58:41.405(0)? (STDERR) ^
W20170301-21:58:41.406(0)? (STDERR)
W20170301-21:58:41.406(0)? (STDERR) Error: invalid schema, expected mongodb
W20170301-21:58:41.407(0)? (STDERR) at module.exports (C:\Users\George\AppData\Local.meteor\packages\npm-mongo\2.2.16_1\npm\node_modules\mongodb\lib\url_parser.js:18:11)
W20170301-21:58:41.408(0)? (STDERR) at connect (C:\Users\George\AppData\Local.meteor\packages\npm-mongo\2.2.16_1\npm\node_modules\mongodb\lib\mongo_client.js:289:16)
W20170301-21:58:41.409(0)? (STDERR) at Function.MongoClient.connect (C:\Users\George\AppData\Local.meteor\packages\npm-mongo\2.2.16_1\npm\node_modules\mongodb\lib\mongo_client.js:113:3)
W20170301-21:58:41.410(0)? (STDERR) at new MongoConnection (packages/mongo/mongo_driver.js:175:11)
W20170301-21:58:41.411(0)? (STDERR) at new MongoInternals.RemoteCollectionDriver (packages/mongo/remote_collection_driver.js:4:16)
W20170301-21:58:41.415(0)? (STDERR) at Object. (packages/mongo/remote_collection_driver.js:38:10)
W20170301-21:58:41.416(0)? (STDERR) at Object.defaultRemoteCollectionDriver (packages\underscore.js:784:19)
W20170301-21:58:41.417(0)? (STDERR) at new Mongo.Collection (packages/mongo/collection.js:99:40)
W20170301-21:58:41.418(0)? (STDERR) at meteorInstall.imports.api.tasks.js (imports/api/tasks.js:3:22)
W20170301-21:58:41.418(0)? (STDERR) at fileEvaluate (packages\modules-runtime.js:197:9)
=> Exited with code: 1
=> Your application is crashing. Waiting for file change.
Please can anyone help? What am I doing wrong?
Many Thanks,
G