我对流星有点新鲜。我正在尝试为有人写的陨石应用程序编写一些单元测试,而我在使用某些软件包时遇到了一些问题。
运行mrt
(呃,sudo mrt
因为否则我收到权限错误,但这是一个不同的问题),启动代理,启动MongoDB,加载Jasmine-Unit和Kadira完成对应用程序的检测,但后来我得到了这个:
W20140717-16:13:43.277(-4)? (STDERR)
W20140717-16:13:43.278(-4)? (STDERR) /Users/Tyler/.meteor/tools/858c88b520/lib/node_modules/fibers/future.js:173
W20140717-16:13:43.278(-4)? (STDERR) throw(ex);
W20140717-16:13:43.278(-4)? (STDERR) ^
W20140717-16:13:43.297(-4)? (STDERR) Error: Method not found [404]
W20140717-16:13:43.297(-4)? (STDERR) at _.extend.apply (packages/livedata/livedata_server.js:1378)
W20140717-16:13:43.298(-4)? (STDERR) at _.extend.call (packages/livedata/livedata_server.js:1348)
W20140717-16:13:43.298(-4)? (STDERR) at app/server/js/server.js:6:8
W20140717-16:13:43.298(-4)? (STDERR) at app/server/js/server.js:13:3
W20140717-16:13:43.299(-4)? (STDERR) at /Users/Tyler/Documents/TylersAwesomeDocuments/ProgrammyStuff/AdTribStuff/Repos/djmustard/.meteor/local/build/programs/server/boot.js:155:10
W20140717-16:13:43.299(-4)? (STDERR) at Array.forEach (native)
W20140717-16:13:43.300(-4)? (STDERR) at Function._.each._.forEach (/Users/Tyler/.meteor/tools/858c88b520/lib/node_modules/underscore/underscore.js:79:11)
W20140717-16:13:43.300(-4)? (STDERR) at /Users/Tyler/Documents/TylersAwesomeDocuments/ProgrammyStuff/AdTribStuff/Repos/djmustard/.meteor/local/build/programs/server/boot.js:82:5
我不确定该怎么做。 livedata
不在packages目录中。不知道如何调试这个。任何关于错误本身的帮助或如何去解决它?谢谢!
编辑:
在app / server / js / server.js:6:8
6 Meteor.call('S3config', {
7 key: '<key>',
8 secret: '<secret>',
9 bucket: '<bucket>',
10 directory: '<directory>'
11 });