望远镜应用程序 - “退出代码:8”错误和应用程序崩溃

时间:2015-11-28 11:49:37

标签: meteor telescope

我是流星的新手,过去几天玩望远镜。昨天,我更新了套餐。从那时起,我无法在Mac上运行Telescope应用程序。

=> Started proxy.                             
=> Started MongoDB.                           
I20151128-19:27:24.429(8)? Kadira: completed instrumenting the app
W20151128-19:27:24.432(8)? (STDERR) 
W20151128-19:27:24.432(8)? (STDERR) /Users/bala/.meteor/packages/meteor-tool/.1.1.10.jru118++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:245
W20151128-19:27:24.432(8)? (STDERR)                         throw(ex);
W20151128-19:27:24.433(8)? (STDERR)                               ^
W20151128-19:27:24.433(8)? (STDERR) Error: deny: Value for `update` must be a function
W20151128-19:27:24.433(8)? (STDERR)     at packages/mongo/collection.js:755:1
W20151128-19:27:24.433(8)? (STDERR)     at Array.forEach (packages/es5-shim/.npm/package/node_modules/es5-shim/es5-shim.js:417:1)
W20151128-19:27:24.433(8)? (STDERR)     at Function._.each._.forEach (packages/underscore/underscore.js:105:1)
W20151128-19:27:24.433(8)? (STDERR)     at [object Object].addValidator (packages/mongo/collection.js:752:1)
W20151128-19:27:24.433(8)? (STDERR)     at [object Object].Mongo.Collection.deny (packages/mongo/collection.js:804:1)
W20151128-19:27:24.433(8)? (STDERR)     at Posts.getNotificationProperties.properties.postAuthorName (lib/herald.js:7:21)
W20151128-19:27:24.433(8)? (STDERR)     at /Users/bala/meteor/Telescope/.meteor/local/build/programs/server/boot.js:249:5
=> Exited with code: 8
=> Your application is crashing. Waiting for file change.

任何人都可以帮我解决这个问题。

* Herald.js文件位于

之下
if (Meteor.absoluteUrl().indexOf('localhost') !== -1) 

Herald.settings.queueTimer = 1000; 
Meteor.startup(function () { 

Herald.collection.deny({ update: !Users.can.editById, remove: !Users.can.editById }); 

// disable all email notifications when "emailNotifications" is set to false 

Herald.settings.overrides.email = !Settings.get('emailNotifications', true); });

2 个答案:

答案 0 :(得分:0)

这是最近Meteor 1.2更新的问题。我首先要确保您使用的是所有Telescope软件包的最新版本。

答案 1 :(得分:0)

我的流星应用程序出现类似错误,解决方法如下: 关闭浏览器,退出终端,重启,打开终端,启动应用程序。它是浏览器的一部分。