Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/meteor/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Twitter bootstrap 使用Bootstrap3Meteor_Twitter Bootstrap_Meteor - Fatal编程技术网

Twitter bootstrap 使用Bootstrap3Meteor

Twitter bootstrap 使用Bootstrap3Meteor,twitter-bootstrap,meteor,Twitter Bootstrap,Meteor,我尝试使用以下两个智能软件包进行安装: 我发现这两个错误: /usr/local/lib/node_modules/meteorite/lib/sources/git.js:158 hrow "There was a problem checking out " + self.checkoutType + ": " + (self.co ^ There wa

我尝试使用以下两个智能软件包进行安装:

我发现这两个错误:

/usr/local/lib/node_modules/meteorite/lib/sources/git.js:158
hrow "There was a problem checking out " + self.checkoutType + ": " + (self.co
                                                                    ^
There was a problem checking out tag: v1.9.2
我下载了引导源文件,并将它们添加到根目录下的lib文件夹中。它不起作用。我得到一个错误:

W20140126-13:49:20.210(2)? (STDERR) /Users/emrekenci/mytestapp/.meteor/local/build/programs/server/boot.js:186
W20140126-13:49:20.211(2)? (STDERR) }).run();
W20140126-13:49:20.211(2)? (STDERR)    ^
W20140126-13:49:20.213(2)? (STDERR) Error: Bootstrap requires jQuery
我试着把这些文件放在我的根文件夹下,我得到了同样的错误


我不知道是因为lib&root下的文件在jQuery之前加载,还是因为Bootstrap要求jQuery>v1.9,meteor随v1.8.2一起加载,所以出现了此错误。
错误:Bootstrap要求jQuery
错误是因为您正在根文件夹中加载文件,这会使它们同时加载到客户端和服务器上。要解决此问题,请将引导文件添加到
/client/lib


但是,如果您正确安装了meteorite,则智能软件包的安装应该可以正常工作。

出现
错误的原因:Bootstrap Required jQuery
错误是因为您正在根文件夹中加载文件,这会导致这些文件同时加载到客户端和服务器上。要解决此问题,请将引导文件添加到
/client/lib


但是,如果您正确安装了meteorite,则智能软件包的安装应该可以正常工作。

作为参考,安装这些软件包的正确方法是使用
mrt add bootstrap3 less
mrt add bootstrap3 sass
。问题是我尝试安装这些软件包,但出现了问题中的错误。抱歉,我想我误解了你的问题。我想你可能会尝试用其他方式安装它们。不知道我为什么这么想。我用捷运加bootstrap3少或者捷运加bootstrap3 sass。Meteorite工作正常,我以前安装过其他软件包。但在尝试安装这两个软件包时遇到了问题中的错误。你知道我为什么会得到这些吗?完全公开,我创建了bootstrap3 sass包。我无法想象为什么它会导致错误发生。它唯一的依赖项是
scss
meterolite包。正如您所说,meteor默认包含jQuery,所以我没有将其作为依赖项。您的
smart.json
smart.lock
文件中可能有一些东西可以说明这一点。你能用它们的内容创建一个吗?作为参考,安装这些软件包的正确方法是使用
mrt add bootstrap3 less
mrt add bootstrap3 sass
。问题是我试图安装这些软件包,但也出现了问题中的错误。对不起,我想我误解了你的问题。我想你可能会尝试用其他方式安装它们。不知道我为什么这么想。我用捷运加bootstrap3少或者捷运加bootstrap3 sass。Meteorite工作正常,我以前安装过其他软件包。但在尝试安装这两个软件包时遇到了问题中的错误。你知道我为什么会得到这些吗?完全公开,我创建了bootstrap3 sass包。我无法想象为什么它会导致错误发生。它唯一的依赖项是
scss
meterolite包。正如您所说,meteor默认包含jQuery,所以我没有将其作为依赖项。您的
smart.json
smart.lock
文件中可能有一些东西可以说明这一点。你能用它们的内容创建一个新的文档吗?