ngx-quill: Function calls are not supported in decorators but 'QuillModule' was called.

I’m using Angular 9 version also I’have disabled the Ivy Compiler. I was using the “ngx-quill”: “9.2.0” it was working fine in locally and dev environment.

I have successfully migrated the Angular version from 8 to 9 but only this error makes weird.

But in production it was throwing the weird error:

ERROR in Error during template compile of 'AppModule' Function calls are not supported in decorators but 'QuillModule' was called. Unexpected value 'undefined' imported by the module 'AppModule' Error during template compile of 'AppModule' Function calls are not supported in decorators but 'QuillModule' was called.

I have imported the module in App Module:

   QuillModule.forRoot({
        format: 'html'
    }),

In Html:

<quill-view-html [content]="dynamicContent" theme="snow"></quill-view-html>

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

I have downgraded to the 8.0.0 but still it’s throwing the same error. In that case, I will try to update Angular 10 then I will check and let you know.