Comments (8)
Temporary solution can be found in twbs/bootstrap/issues/16663 due to changes in the Bower specification bower/spec/pull/43. For now you need to override the bootstrap main adding the following to your bower.json
:
"overrides": {
"bootstrap": {
"main": [
"dist/css/bootstrap.css",
"dist/js/bootstrap.js",
"less/bootstrap.less"
]
}
}
from generator-angularfire.
Did you also grunt
? Can you provide version info with npm list -g --depth=0
and npm list --depth=0
, as well as the output files and precise steps to repro?
from generator-angularfire.
Nope, sure didn't (pretty new to the yeoman thing)
I was under the impression that everything was precompiled and ready to roll right out of the gate.
Let me delete my bootstrap CDN link and run grunt
and see if my ignorance is to blame... Standby
from generator-angularfire.
Running "useminPrepare:html" (useminPrepare) task
Warning: Cannot find module 'C:\Users\dereksifford\Documents\Local_Repos\hurtregistry\node_modules\grunt-usemin\lib\config\uglifyjs' Use --force to continue.
Aborted due to warnings.
from generator-angularfire.
Hrm. Go ahead and follow the same steps as above (npm list, steps to repro, and so on) so I can try it out locally. This will turn out to be a lib dependency usemin
needs. Check that you don't have a global install of uglifyjs
(unlikely).
from generator-angularfire.
$ npm list -g --depth=0
d:\Program Files\nodejs
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
$ npm list --depth=0
[email protected] C:\Users\dereksifford\Documents\Local_Repos\hurtregistry
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
- Account tools: ☑️
- Providers: Email/Password
- Sass: ❌
- Bootstrap: ☑️
- Modules: (standard, no change)
from generator-angularfire.
+1
from generator-angularfire.
Hours and hours of time and finally solved. Thank God for this thread. A little more context is included below.
Thanks everyone for this!!
},
"appPath": "app",
"moduleName": "myNewProjectApp",
"overrides": {
"bootstrap": {
"main": [
"dist/css/bootstrap.css",
"dist/js/bootstrap.js",
"less/bootstrap.less"
]
}
}
}
from generator-angularfire.
Related Issues (20)
- yo angular:route function error HOT 2
- depencendcy issues HOT 1
- Invalid usage of ref.child()
- Need IE=edge line in generated index.html? HOT 1
- Bootstrap 3.3.5 Bower Overrides HOT 5
- Firebase.child failed: Was called with 2 arguments. Expects no more than 1. HOT 4
- "test" is not working after new install HOT 3
- Grunt not running from fresh install - needs compass? HOT 1
- Require a generator that is installed HOT 8
- Error on Build
- Out of date HOT 1
- Create new version for Firebase v3 and ui-router (for authentication) HOT 12
- Error: Firebase.changePassword failed: First argument must contain the key "email" with type "string" HOT 1
- update ? HOT 1
- Which is the best way for require a module from node_modules HOT 1
- Problem with routes and hash prefix after installation HOT 2
- createUserWithEmailandPassword Failed: first argument "email" must be a valid string.
- CRUD operation cannot properly working!
- retrieve data from firebase database
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-angularfire.