发现 Meteor - mrt add bootstrap - 安装错误 [英] Discover Meteor - mrt add bootstrap - Install Error

查看:36
本文介绍了发现 Meteor - mrt add bootstrap - 安装错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始探索流星教程,当我尝试:

I just started the Discover Meteor Tutorial, and when I attempt to:

mrt add bootstrap

我收到以下错误:

usr/local/lib/node_modules/meteorite/lib/project.js:225
      throw("Package named " + pkgName + " doesn't exist in your meteor in
                                       ^
Package named bootstrap doesn't exist in your meteor installation, smart.json, or on    
atmosphere

有什么想法吗?谢谢.

推荐答案

14 年 3 月 2 日更新:

看起来这本书现在支持官方引导包,您可以通过以下方式获得:

update 3/2/14:

It looks like the book now supports the official bootstrap package which you can get via:

$ meteor add twbs:bootstrap

旧答案:

看起来他们还没有为新的包装系统更新这本书.关于使用哪个引导程序版本,您有一些选择.我不确定这本书期望的是哪一种,但您可以尝试使用meteor 附带的默认值:

old answer:

It looks like they have not updated the book for the new packaging system. You have some choices when it comes to which bootstrap version to use. I'm not sure which one the book expects, but you could try the default that comes with meteor:

$ meteor add bootstrap

请注意,我们将 mrt 替换为meteor.

Note we are replacing mrt with meteor.

如果你想要引导程序 3,那么你可以尝试:

If you want bootstrap 3, then you could try:

$ meteor add mizzao:bootstrap-3

这篇关于发现 Meteor - mrt add bootstrap - 安装错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆