Open clintconklin opened 5 years ago
is this still a problem CLI version 8.0.3 @clintconklin ?
@sfabriece just tried with angular cli 8.0.3 and angular-froala-wysiwyg 3.0.1 and unfortunately it is.
I see, this might have something to do with https://github.com/angular/angular/issues/31032 @clintconklin
Still getting this problem, with latest Angular 9.1.0, created new Project today.
@ahmadalibaloch same... were you able to get it working?
@lenichols No, I couldn't use forRoot
for a module configuration input. Simply used provider with config.
const SCREEN_CONFIG = { mobile: [0, 600], tablet: [600, 800], desktop: [800, 1600] };
@NgModule({
declarations: [AppComponent],
imports: [
BrowserModule,
AppRoutingModule,
UIUtilsModule,
],
providers: [
[{ provide: 'windowObject', useValue: window },
{ provide: 'config', useValue: SCREEN_CONFIG }],
ScreenDetectorService
],
bootstrap: [AppComponent]
})
export class AppModule { }
When trying to build an angular project with enableIvy enabled and angular-froala-wysiwyg
3.0.0-rc.1
I get the following error:ng --version:
I've tried with node
12.2.0
as well, but same issue.Any ideas?