Open sunojvijayan opened 6 years ago
Getting same error. Any update on this issue?
That error means that you haven't included the RoundProgressModule
in your NgModule.
It needs to be added to the @NgModule declaration in app.module.ts to function correctly. Perhaps this could be expanded on in the docs.
This is covered under the Install
section of the readme.
Hey I have this error too. I am sure I have included RoundProgressModule in my NgModule as you can see below.
I did yarn add angular-svg-round-progressbar --save
.
and in my app.module.ts:
...
import {RoundProgressModule} from 'angular-svg-round-progressbar';
@NgModule({
declarations: [
MyApp,
HomePage,
...
],
imports: [
BrowserModule,
IonicModule.forRoot(MyApp),
AngularFireModule.initializeApp(firebaseConfig.fire),
NgxErrorsModule,
AngularFireDatabaseModule,
AngularFireStorageModule,
AngularFirestoreModule,
HttpClientModule,
ChartsModule,
RoundProgressModule,
...
Any idea what's happening? The issue is not always here, sometimes, the app loads and I see the round progress bars...
You have to import the module in your page.module.ts too ;-)
Same error here. I've import the module in app.module.ts, home.module.ts and also I tried to import in home.ts, but still not working.
Same error here. I've import the module in app.module.ts, home.module.ts and also I tried to import in home.ts, but still not working.
As tmdevde said, you need to import in home.module.ts, not home.ts
Hi I am trying to implement this in my app(Ionic 3) but it gives this error.
Error: Template parse errors: Can't bind to 'current' since it isn't a known property of 'round-progress'.
My code is home.ts -
import { NgModule } from '@angular/core'; import { RoundProgressModule, RoundProgressConfig } from 'angular-svg-round-progressbar'; @IonicPage() @Component({ selector: 'page-ownerhome', templateUrl: 'ownerhome.html', }) @NgModule({ imports: [RoundProgressModule] }) export class OwnerhomePage { current: any; max: any;
home.html -
`