gpt4 book ai didi

node.js - 鲍尔问题 : bower_components not created

转载 作者:IT老高 更新时间:2023-10-28 23:19:04 25 4
gpt4 key购买 nike

我在我的项目根目录中创建了一个 bower.json 文件,但是当我运行时:

$ bower install

我得到以下输出:

bower not-cached    https://github.com/mirceasinteanu/nanoScrollerJS.git#master
bower resolve https://github.com/mirceasinteanu/nanoScrollerJS.git#master
bower not-cached http://jamesallardice.github.io/Placeholders.js#*
bower resolve http://jamesallardice.github.io/Placeholders.js#*
bower download http://jamesallardice.github.io/Placeholders.js
bower cached http://github.com/davatron5000/FitVids.js.git#1.1.0
bower validate 1.1.0 against http://github.com/davatron5000/FitVids.js.git#*
bower cached git://github.com/jquery/jquery.git#1.10.2
bower validate 1.10.2 against git://github.com/jquery/jquery.git#~1.10.0
bower cached git://github.com/gfranko/jquery.selectBoxIt.js.git#3.8.1
bower validate 3.8.1 against git://github.com/gfranko/jquery.selectBoxIt.js.git#*
bower cached git://github.com/chrisabrams/commonjs.git#0.2.0
bower validate 0.2.0 against git://github.com/chrisabrams/commonjs.git#0.2.0
bower cached git://github.com/components/jqueryui.git#1.11.2
bower validate 1.11.2 against git://github.com/components/jqueryui.git#*
bower cached git://github.com/jonom/jquery-focuspoint.git#1.1.1
bower validate 1.1.1 against git://github.com/jonom/jquery-focuspoint.git#*
bower checkout nanoscroller#master
bower invalid-meta nanoscroller is missing "ignore" entry in bower.json
bower resolved https://github.com/mirceasinteanu/nanoScrollerJS.git#5e348f0bb9
bower EHTTP Status code of 404

没有创建 bower_components 文件夹,因此在引用 bower 包时出现错误。

我正在使用:

OSX   10.9.5
node v0.12.0
npm v2.5.1
bower v1.3.12
git v1.9.2

我试过运行:

$ npm cache clean

任何帮助将不胜感激。

最佳答案

您的项目根目录中有 .bowerrc 文件吗?

如果不是,您应该创建一个,然后您可以按照以下教程进行操作:

bower.io

如果你有这个配置文件,你能把它发布到你的问题中吗:)

关于node.js - 鲍尔问题 : bower_components not created,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28401064/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com