bower

Stuck on installing dependencies with bower (foundation new)

倾然丶 夕夏残阳落幕 提交于 2019-12-10 17:24:48
问题 I followed this guide to install foundation on my Windows 8.1 PC. http://foundation.zurb.com/forum/posts/11597-how-to-install-grunt-and-libsass-on-windows When I get to Step 16 my cmd prompt gets stuck on "Installing dependencies with bower...". I have had foundation work on my computer before but I recently had to reformat it. Thanks for any help. 回答1: I spent a lot of time trying to fix this problem... and I have solution! :) I think it's a problem between node.js and npm versions. I

Can't Get Files Installed with Bower to Work in Eclipse

匆匆过客 提交于 2019-12-10 17:02:49
问题 I created a new "dynamic web project" in Eclipse, installed Bower globally and then locally in the root directory of my project then hit the command bower install jquery . It created a bower_components folder in my project and added the jquery folder perfectly. Here is the structure created: I then created a new index.html file and tried to reference that jquery file installed with Bower [I didn't modify any build path or anything, I actually am new to Eclipse]. The reference code is: <head>

Installing Polymer through bower freezes

别说谁变了你拦得住时间么 提交于 2019-12-10 15:07:50
问题 I follow the instructions of the official page to install bower, but when I reach to the command line: bower install --save Polymer/core-elements bower get stuck and outputs nothing for a long while, in the end I get a "out of memory" error. What is wrong? I am using Ubuntu 14.04 回答1: There's a cyclical issue with Bower that's been fixed on master but hasn't made it to a release yet. https://github.com/bower/bower/issues/1169 回答2: according to http://github.com/bower/bower/issues/1324 there

uncaught object error: can't inject ngAnimate

℡╲_俬逩灬. 提交于 2019-12-10 15:00:04
问题 I can't instantiate my app when I try to inject 'ngAnimate' like so: var app = angular.module('musicsa', [ 'ngCookies', 'ngResource', 'ngSanitize', 'ui.router', 'firebase', 'ngAnimate' ]) I get an error Uncaught object from angular.js line 78 I installed ngAnimate using bower. Here's my bower.json : { "name": "ang-changeorg", "version": "0.0.0", "dependencies": { "angular": "1.2.6", "json3": "~3.2.6", "es5-shim": "~2.1.0", "jquery": "~1.10.2", "bootstrap": "~3.0.3", "angular-resource": "1.2.6

Ember : downgrading ember with bower install

偶尔善良 提交于 2019-12-10 14:59:29
问题 I've been switching to the 1.13.2 version of ember on a git branch, and now I want to come back to 1.11.1 when going back to an other branch. I've been running npm install and bower install without failure. But when I run ember server I run into the following error : Missing bower packages: Package: ember * Specified: 1.11.1 * Installed: 1.13.2 Run `bower install` to install missing dependencies. Running bower install again does not solve the problem, neither does bower cache clean . 回答1: Do

How to include Google Maps JS library locally and not from CDN

你离开我真会死。 提交于 2019-12-10 14:57:18
问题 Currently I am loading the google maps JS API from the google CDN like this in my hybrid mobile app. <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?libraries=places,geometry"></script> Is there a clean, official, way to include this library locally in my resources? I cannot for exmaple find an official bower component, etc... eg <script type="text/javascript" src="lib/maps/api/js?libraries=places,geometry"></script> Can I just download the JS file from the above

JQueryUI at Ember upgrade

我的未来我决定 提交于 2019-12-10 14:30:34
问题 After upgrade and dismissing Bower as recommended: Is there a way to include JQueryUI into an Ember project without using Bower? My project depends heavily of JQueryUI dialogs. $ ember -v ember-cli: 3.3.0 node: 8.11.3 os: linux x64 Do I have to reintroduce Bower into my project? Like in this old Using jquery in Ember-cli advice? 回答1: does this solve your use case?: ember install ember-auto-import npm install jquery-ui and then wherever you need to use it: import { stuff } from 'jquery-ui';

How to do a minimal install using Bower

我只是一个虾纸丫 提交于 2019-12-10 14:13:34
问题 I'm using Bower to manage all the front end libraries and tools I'm using for a project. My bower.json file looks like this { "name": "New Project", "version": "0.1.0", "dependencies": { "jquery": "~1.11.1", "bootstrap": "~3.3.4" } } When I run bower install it creates a jquery/src directory with a ton of JS files that I don't need and won't use. I just need the jquery.min.js file. Is there a way to control how much is installed and just do a minimal install? 回答1: Only Grab the Files You Need

gulp main-bower-files regular expression filter not working

旧街凉风 提交于 2019-12-10 13:59:24
问题 Why is the second array, bowerFiles , not filtered to just javascript files. var gulp = require('gulp'); var mainBowerFiles = require('main-bower-files'); gulp.task('default', function () { var unfiltered = mainBowerFiles(); console.log('unfiltered files:', unfiltered); // 11 FILES //var jsRegEx = /js$/i; // tried this way too... var jsRegEx = new RegExp('js$', 'i'); var bowerFiles = mainBowerFiles(jsRegEx); console.log('bower files:', bowerFiles); // 11 FILES }); I have tried to mimic what

Bootstrap material design not working properly with dynamic angular views

元气小坏坏 提交于 2019-12-10 13:48:50
问题 I'm including material-bootstrap scripts into the index.html of my Angular project, but they need to be manually re-included in the views to work. This is strange, as for all other scripts inserted into Angular this does not happen. index.html <script src="bower_components/bootstrap-material-design/scripts/material.js"></script> <script src="bower_components/bootstrap-material-design/scripts/ripples.js"></script> I also noticed that material-bootstrap doesn't play well with Grunt and Bower,