我遵循David Weldon's post on getting a local copy的指示publish-with-relations
,因为this question通知我Atmosphere版本有一个致命错误。流星:无法获得发布与关系包合作
我把克隆回购放在我的项目的一个目录中,$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
目录,并重新克隆回购。两者都导致相同的错误。
你所建议的那么什么:我叫'地铁add',然后我进入' .meteorite/packages/publish-with-relations',清理内容,并回购一个新的目录?将repo放在我的应用程序目录之外的某个位置会更直接,然后按照David Weldon的博客中的其他说明进行操作吗? https://dweldon.silvrback.com/local-packages – blaineh
我遵循他的指示,但我只是把回购之外的我的应用程序目录。你说得对,它被误解为我的应用程序的一部分!真的很愚蠢。 – blaineh