bower

Unable to install bower on Openshift

点点圈 提交于 2019-12-03 07:16:21
I am unable to install bower on Openshift. I keep on getting errors like remote: npm ERR! Error: ENOENT, lstat '/var/lib/openshift/537xxxxcd/app-root/runtime/repo/node_modules/bower/node_modules/mout/array/intersection.js'[K remote: npm ERR! If you need help, you may report this log at:[K remote: npm ERR! <http://github.com/isaacs/npm/issues>[K remote: npm ERR! or email it to:[K remote: npm ERR! <npm-@googlegroups.com>[K You can see full deployment logs https://s3.amazonaws.com/archive.travis-ci.org/jobs/26291843/log.txt [From travis here]. I tried several approaches: 1) with and without

bower install self_signed_cert_in_chain

瘦欲@ 提交于 2019-12-03 06:22:58
问题 I am building a angular app in windows, using git bash, so far I have been able to scaffold using yo, no issues, however when I am trying to issue the following command. Can someone please point me to resolve this issue. bower install angular-bootstrap I am getting the following error: bower error Request to https://bower.herokuapp.com/packages/angular-reso urce failed: SELF_SIGNED_CERT_IN_CHAIN Stack trace: Error: Request to https://bower.herokuapp.com/packages/angular-resource failed: SELF

How to use jquery ui with bower?

一世执手 提交于 2019-12-03 05:34:38
I'm experimenting with yeoman and bower . I have created a yeoman webapp using the following command yo webapp I want to use jqueryui so I have installed it using bower: bower install jquery-ui --save This works fine, but the jQuery UI component doesn't contain a javascript file with "all" the components, it just contains a lot of javascript files, one for each component. Should I include only the javascript files that I need? Or should I do something else before using jQuery UI? Thanks for the tips! Added jquery-ui in dependencies of bower.json (or component.json ) along with jquery . { …,

How make bower build the package?

左心房为你撑大大i 提交于 2019-12-03 05:31:23
Is there a way to make bower run a package grunt after it was cloned from GitHub? I'm trying to use Bower but one of the packages I'm using is the Bootstrap extension, x-editable. The problem is that while other packages push a fully built version to github so when installed by Bower you have a built version x-editable expect you to run a grunt file to build the package. That is a common practice in other package managers like npm but I could find how to make Bower build it on install. Which means I need another mechanism to complete the installation of the package. Building on install is an

References to font (font-awesome) resources are not updated in yeoman/angular grunt build

我只是一个虾纸丫 提交于 2019-12-03 04:56:29
I'm aware of the SO threads about this (I've linked them below), but unfortunately I couldn't solve this with them, so please allow me this question :-) I've bootstrapped an AngularJS project with Yeoman and thus rely on a grunt.js build utilizing bower.js and SCSS. I want to use font-awesome and the glyphicons-halflings-regular from bootstrap-sass-official. When running "grunt serve" everything is fine, but when I want to create a fileset for distribution, the references to the font files are not updated as they should. The main.scss contains $icon-font-path: "../bower_components/bootstrap

npm WARN deprecated graceful-fs@3.0.8: graceful-fs version 3

二次信任 提交于 2019-12-03 04:52:42
问题 I am running npm install but it's giving me an error. I also tried to run below command before update. $npm install npm and also I updated graceful-fs. $ npm install -g graceful-fs graceful-fs@4.1.3 C:\Users\RDY672\AppData\Roaming\npm\node_modules\graceful-fs ERROR is as below : $ npm install -g bower@1.3.12 npm WARN deprecated graceful-fs@3.0.8: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible. npm WARN deprecated

“EMALFORMED Failed to read bower.json” on “bower install requirejs-text”

£可爱£侵袭症+ 提交于 2019-12-03 04:41:36
When I attempt to install requirejs-text , I'm getting an error that I don't understand. $ bower install requirejs-text bower EMALFORMED Failed to read /Users/bgolder/projects/explorer/front/bower.json Additional error details: Unexpected string In bower.json, I can't see anything wrong. { "name": "front", "version": "0.0.0", "dependencies": { "bootstrap": "~3.1.1" "jquery": "~1.10.2", "requirejs": "~2.1.9", "requirejs-text": "~2.0.10", "underscore": "~1.5.2", "backbone": "~1.1.0", "modernizr": "~2.6.2" }, "devDependencies": {}, } If I use the verbose option on bower, I get this trace. bower

Node.js Heroku Deployment - Fails To Exec Postinstall Script To Install Bower

微笑、不失礼 提交于 2019-12-03 04:33:19
问题 Deployment of my Node.js MEAN app to heroku fails with the following errors. I can't figure out what is wrong with the bower install... Here is the error message: 2606 info postinstall App@1.0.0 2607 verbose unsafe-perm in lifecycle true 2608 info App@1.0.0 Failed to exec postinstall script 2609 error App@1.0.0 postinstall: `./node_modules/bower/bin/bower install` 2609 error Exit status 1 2610 error Failed at the App@1.0.0 postinstall script. 2610 error This is most likely a problem with the

What does 'invalid' mean when using npm list?

≡放荡痞女 提交于 2019-12-03 04:12:11
I am new to nodejs and i had just installed bower module globally. Ever since then, npm list command gives the following output which I searched for on the web but couldn't find any help : **npm ERR! invalid: chalk@0.5.1 /usr/local/lib/node_modules/bower/node_modules/chalk npm ERR! invalid: ansi-regex@0.2.1 /usr/local/lib/node_modules/bower/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex npm ERR! invalid: configstore@0.3.1 /usr/local/lib/node_modules/bower/node_modules/update-notifier/node_modules/configstore npm ERR! invalid: object-assign@0.3.1 /usr/local/lib/node_modules

【AngularJs学习笔记五】AngularJS从构建项目开始

独自空忆成欢 提交于 2019-12-03 03:49:29
#0 系列目录# AngularJs学习笔记 【AngularJs学习笔记一】Bower解决js的依赖管理 【AngularJs学习笔记二】Yeoman自动构建js项目 【AngularJs学习笔记三】Grunt任务管理器 【AngularJs学习笔记四】Grunt + Bower + Requirejs + Angular 【AngularJs学习笔记五】AngularJS从构建项目开始 #1 AngularJS介绍# AngularJS是一个为动态WEB应用设计的结构框架。 它能让你使用HTML作为模板语言 ,通过扩展HTML的语法,让你能更清楚、简洁地构建你的应用组件。 它的创新点在于,利用 数据绑定 和 依赖注入 ,它使你不用再写大量的代码了。这些全都是通过浏览器端的Javascript实现,这也使得它能够完美地和任何服务器端技术结合。 AngularJS介绍,摘自: http://angularjs.cn/A00n #2 构建AngularJS项目(Yeoman,angular-seed)# ##2.1 基于angular-seed构建项目## 一般把这个项目称为angular的“种子项目” ,构建方法是去github下载项目源代码,基于已有项目结构再做开发。这种项目都融入了前人的经验,会以一种比较合理的结构,帮我们构建出项目的原型。适合于有一定规模项目开发