【发布时间】:2016-10-27 02:01:47
【问题描述】:
对于 Meteor 项目,我想更改 Meteor Core 库文件。
这可能吗?如果可以,怎么做?
到目前为止,我已经尝试将文件复制到我的项目目录中,希望相应的对象只是从原始对象中覆盖,但问题是依赖函数或变量仅在本地定义。
然后我尝试将 git clone 他们添加到项目的 packages 目录中,就像使用社区包一样,但这也不起作用,因为克隆命令失败 (fatal: repository ... not found) 并且包也不是在 .meteor/packages 文件中显式调用。
有什么想法吗?
【问题讨论】:
-
你用什么命令来克隆包?你得到了什么错误?
-
@MasterAM: git clone github.com/meteor/meteor/commit/… 克隆到 '025299f28606426aeb54628740108ad162503ce4'... 致命:未找到存储库 'github.com/meteor/meteor/commit/…' 并再次尝试:git clone github.com/meteor/meteor/tree/devel/packages/ddp-client 克隆到 'ddp-client' ...致命:未找到存储库“github.com/meteor/meteor/tree/devel/packages/ddp-client”
标签: javascript git meteor meteor-packages