After removing bower_components and making a cache clean I reinstalled dependencies using bower install. The app fails to load with following error Uncaught Error: [$injector:unpr] Unknown provider: $$forceReflowProvider <- $$forceReflow <- $$animateQueue <- $animate <- $compile <- $$animateQueue
Here is my bower.json
{
"name": "angular-zolo",
"version": "0.0.0",
"dependencies": {
"angular": "1.4.3",
"json3": "~3.3.1",
"es5-shim": "~3.0.1",
"bootstrap-sass-official": "~3.1.1",
"bootstrap": "~3.1.1",
"angular-resource": ">=1.2.*",
"angular-cookies": ">=1.2.*",
"angular-sanitize": ">=1.2.*",
"angular-bootstrap": "~0.11.0",
"font-awesome": ">=4.1.0",
"lodash": "~2.4.1",
"angular-socket-io": "~0.6.0",
"angular-ui-router": "~0.2.15",
"angular-material": "master",
"material-date-picker": "~1.1.7",
"ng-table": "~0.7.1",
"md-data-table": "*",
"ngstorage": "~0.3.7",
"ng-file-upload": "~6.0.4",
"velocity": "~1.2.2",
"nprogress": "~0.2.0"
},
"devDependencies": {
"angular-mocks": ">=1.2.*",
"angular-scenario": ">=1.2.*"
},
"resolutions": {
"angular-material": "master",
"angular": "~1.4.0",
"lodash": "~3.9.3"
}
}
Just to highlight what Olivier said in a comment, make sure you keep your version of angular and angular-animate in sync.
From bower.json
Good
"dependencies": {
"angular": "~1.4.6",
"angular-animate": "~1.4.6",
Bad - out of sync
"dependencies": {
"angular": "~1.4.0",
"angular-animate": "~1.4.6",
Angular-animate is not in your bower.json file, :) install it with :
bower install angular-animate --save
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With