【发布时间】:2014-03-20 05:52:59
【问题描述】:
我按照publish-with-relations 的David Weldon's post on getting a local copy 中的说明进行操作,因为this question 告诉我Atmosphere 版本存在致命错误。
我将克隆的 repo 放在我的项目目录$apphome/localpackages 中,mrt add publish-with-relations 的调用运行良好,没有错误。
但是,当我启动整个过程时,它给了我这个错误:
=> Meteor server running on: http://localhost:3000/
W20140219-10:30:46.040(-7)? (STDERR) /home/blaine/.meteor/tools/09b63f1ed5/lib/node_modules/fibers/future.js:173
W20140219-10:30:46.168(-7)? (STDERR) throw(ex);
W20140219-10:30:46.169(-7)? (STDERR) ^
W20140219-10:30:46.170(-7)? (STDERR) TypeError: Object #<Object> has no method 'describe'
W20140219-10:30:46.174(-7)? (STDERR) at app/localpackages/publish-with-relations/package.js:1:44
W20140219-10:30:46.174(-7)? (STDERR) at app/localpackages/publish-with-relations/package.js:16:3
W20140219-10:30:46.175(-7)? (STDERR) at /home/blaine/Business/PianoStudio/websitemeteor/.meteor/local/build/programs/server/boot.js:155:10
W20140219-10:30:46.175(-7)? (STDERR) at Array.forEach (native)
W20140219-10:30:46.175(-7)? (STDERR) at Function._.each._.forEach (/home/blaine/.meteor/tools/09b63f1ed5/lib/node_modules/underscore/underscore.js:79:11)
W20140219-10:30:46.176(-7)? (STDERR) at /home/blaine/Business/PianoStudio/websitemeteor/.meteor/local/build/programs/server/boot.js:82:5
除非你停止服务器,否则它会一遍又一遍地吐出来。
发生了什么事?我做错什么了吗? github repo有什么问题吗?
可能相关我尝试了两次这个过程,一次使用meteor add,一次使用mrt add。在两者之间,使用meteor remove 删除包并清除localpackages 目录并重新克隆repo。两者都导致相同的错误。
【问题讨论】: