Comments (2)
Found the solution. I only had to import on App module.
LoadingBarHttpModule,
LoadingBarRouterModule,
LoadingBarHttpClientModule,
LoadingBarModule.forRoot(),
Previously I used them on both app and other module.
from ngx-loading-bar.
I've same problem importing all this module on App Module only.
My dependencies :
"@angular-devkit/schematics": "0.0.51",
"@angular/animations": "5.2.7",
"@angular/cdk": "^5.2.0",
"@angular/common": "5.2.7",
"@angular/compiler": "5.2.7",
"@angular/core": "5.2.7",
"@angular/forms": "5.2.7",
"@angular/http": "5.2.7",
"@angular/material": "^5.2.0",
"@angular/material-moment-adapter": "^5.2.1",
"@angular/platform-browser": "5.2.7",
"@angular/platform-browser-dynamic": "5.2.7",
"@angular/router": "5.2.7",
"@angular/service-worker": "^5.2.1",
"@nebular/auth": "2.0.0-rc.4",
"@nebular/theme": "2.0.0-rc.4",
"@ng-bootstrap/ng-bootstrap": "1.0.0-beta.7",
"@ngx-loading-bar/core": "^1.3.1",
"@ngx-loading-bar/http": "^1.3.1",
"@ngx-loading-bar/http-client": "^1.3.1",
"@ngx-loading-bar/router": "^1.3.1",
"angular2-moment": "^1.8.0",
"angular2-text-mask": "^8.0.4",
"bootstrap": "4.0.0-beta.3",
"chart.js": "^2.7.1",
"core-js": "2.4.1",
"enhanced-resolve": "^3.3.0",
"font-awesome": "4.7.0",
"hammerjs": "^2.0.8",
"ionic-angular": "2.0.0-beta.6",
"ionic-native": "^1.1.1",
"ionicons": "2.0.1",
"jquery": "3.2.1",
"material-design-icons": "^3.0.1",
"nebular-icons": "1.0.6",
"ng-jhipster": "0.3.6",
"ng2-charts": "^1.6.0",
"ngx-cookie": "2.0.1",
"ngx-infinite-scroll": "0.5.1",
"ngx-webstorage": "2.0.1",
"normalize.css": "7.0.0",
"reflect-metadata": "0.1.10",
"roboto-fontface": "0.8.0",
"rxjs": "5.5.6",
"swagger-ui": "2.2.10",
"tether": "1.4.0",
"three": "0.88.0",
"typeface-exo": "0.0.22",
"zone.js": "0.8.16"
from ngx-loading-bar.
Related Issues (20)
- NullInjectorError: StaticInjectorError(AppModule)[LoadingBarComponent -> LoadingBarService] HOT 1
- Angular 10 Support HOT 2
- Move tslint, typescript to devdeps
- Just saying thanks HOT 1
- @ngx-loading-bar/router - breaks in CLI 10.1.7 HOT 3
- ignoreLoadingBar in guard HOT 4
- ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'null'. Current value: '0'. HOT 2
- Only have loading bar when loading lazy module HOT 1
- Adding the <ngx-loading-bar> elsewhere than App.module and App.component.html HOT 1
- Loading bar breaks when combined with NGXS HOT 5
- NullInjectorError: No provider for e! - @ngx-loading-bar/http-client HOT 1
- Warning incorrect peer dependency HOT 1
- Not showing ngx-loading-bar for particular request
- Update to Angular 13 HOT 1
- add a demo HOT 2
- create mx-steps component to move between steps HOT 1
- Rendering issue on a configured bar in Webkit Browsers (not Safari) HOT 1
- Angular 14 support HOT 1
- Support for Angular 14 - throws an error ngcc compilation failed HOT 1
- Loading bar shows only after request is completed
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 ngx-loading-bar.