【发布时间】:2015-07-10 06:06:54
【问题描述】:
我在自己的服务器上制作了一个原型应用程序,效果很好。 但是在将它部署到meteor.com 时,我无法让它工作。 昨天工作正常,但突然停止工作。 有没有停电?
请在日志下方找到:
[Thu Apr 30 2015 13:34:30 GMT+0000 (UTC)] NOTICE 在端口启动应用程序 12552 [2015 年 4 月 30 日星期四 13:34:30 GMT+0000 (UTC)] 信息状态开始 -> 运行 [2015 年 4 月 30 日星期四 13:34:31 GMT+0000 (UTC)] 警告 /meteor/dev_bundles/0.4.18/lib/node_modules/fibers/future.js:278 抛出(前); ^ [2015 年 4 月 30 日星期四 13:34:31 GMT+0000 (UTC)] 警告错误:找不到任何 初始种子列表中的有效服务器 在 Object.Future.wait (/meteor/dev_bundles/0.4.18/lib/node_modules/fibers/future.js:398:15) 在新的 MongoConnection (packages/mongo/mongo_driver.js:213:1) 在新的 MongoInternals.RemoteCollectionDriver (包/mongo/remote_collection_driver.js:4:1) 在对象。 (包/mongo/remote_collection_driver.js:38:1) 在 Object.defaultRemoteCollectionDriver (packages/underscore/underscore.js:750:1) 在新的 Mongo.Collection (packages/mongo/collection.js:98:1) 在 app/pedacity.js:4:11 在 app/pedacity.js:100:3 在 /meteor/containers/82056e4b-b761-a84b-2709-0d43a648a6d8/bundle/programs/server/b oot.js:222:10 在 Array.forEach(本机)
在 /meteor/containers/82056e4b-b761-a84b-2709-0d43a648a6d8/bundle/programs/server/n pm/mongo/node_modules/mongodb/lib/mongodb/mongo_client.js:329:26 在 process._tickCallback (node.js:442:13) [2015 年 4 月 30 日星期四 13:34:31 GMT+0000 (UTC)] 信息状态正在运行 -> 等待 [2015 年 4 月 30 日星期四 13:34:31 GMT+0000 (UTC)] 错误应用程序因代码崩溃: 8
还请找到以下代码:
关于 pedacity.js:4
/**
* Collection declarations
*/
Markers = new Mongo.Collection('markers'); // This is line #4.
Segments = new Mongo.Collection('segments');
关于pedacity.js:100,该行在我的文件中不存在...应该是流星自动添加的clousure。
【问题讨论】:
-
投票结束,因为正如您在下面的回答中所述,此问题不再可重现/由
a temporary outage from meteor.com hosting services.引起
标签: mongodb deployment meteor