删除了bower_components并清理缓存后,我使用bower install重新安装依赖项。应用程序出现以下错误导致无法加载:
Uncaught Error: [$injector:unpr] Unknown provider: $$forceReflowProvider <- $$forceReflow <- $$animateQueue <- $animate <- $compile <- $$animateQueue
这是我的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"
}
}