Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Constructor is not Compatible with Angular Dependency Injection (Ivy), for FroalaEditorDirective #240

Open
danchaseCTS opened this issue Oct 19, 2020 · 1 comment

Comments

@danchaseCTS
Copy link

Hello,

I had Froala working fine in my app, then tried to get it working in StackBlitz to work on a separate issue - but the StackBlitz is running Angular 10 Ivy, and I'm getting this error. Can you help?

Here is the StackBlitz:
https://angular-ivy-6rmpud.stackblitz.io/
https://stackblitz.com/edit/angular-ivy-6rmpud?file=src/app/app.component.ts

@danchaseCTS
Copy link
Author

danchaseCTS commented Oct 19, 2020

Just to confirm, if I turn off Ivy I get:
Error in /turbo_modules/@angular/compiler@10.1.6/bundles/compiler.umd.js (2981:21)
Can't resolve all parameters for FroalaEditorDirective: (?, ?).

I checked other answers related to this error, and they all reference system.js - however, I can find no reference to this in the stackblitz, and the instructions on the site show to be the same regardless.

Here is a stackblitz that works, and the only thing I can find so far, is that it's ng8 and not ng10:
https://stackblitz.com/edit/angular-froala-13aagf-tmlz3d?file=angular.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant