如何安装没有陨石的大气包装? [英] How to install atmosphere packages without meteorite?
问题描述
mrt当前在Mac上的卷名中存在一个空格 https://github.com/oortcloud/meteorite/Issues/172 .
mrt currently has a bug with spaces in Volume names on the Mac https://github.com/oortcloud/meteorite/issues/172.
在解决该问题之前,如何从大气层手动安装软件包?
Until that is fixed, how can I manually install packages from atmosphere?
推荐答案
您可以在项目中创建名为/packages
的目录&然后手动安装每个软件包及其依赖项.例如流星路由器"
You can create a directory called /packages
in your project & then manually install each package and its dependencies. e.g for 'meteor router'
在/packages
git clone https://github.com/tmeasday/meteor-router.git
mv meteor-router router
git clone --recursive https://github.com/tmeasday/meteor-page-js-ie-support.git
mv meteor-page-js-ie-support page-js-ie-support
第二个是对流星路由器的依赖,您可以在程序包的大气层"页面中看到它.确保子模块pages-js也被git克隆是递归的.
The second is a dependency on meteor router which you can see on the package's atmosphere page. It's recursive to make sure the submodule pages-js is also git cloned in.
流星0.65 +
如thatjuan所指出:完成此操作后,只需将主要项目添加到您的项目中.您不必添加依赖项.
As pointed out by thatjuan: Once you do this, you just need to add the main one to your project. You don't have to add the dependencies.
meteor add router
这篇关于如何安装没有陨石的大气包装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!