question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Function calls are not supported in decorators but 'QuillModule' was called.

See original GitHub issue

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>

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Prasanth-FrontEndcommented, May 25, 2021

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.

0reactions
Prasanth-FrontEndcommented, May 26, 2021

Sure I will give update after the migration to Angular 10 version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error : Function calls are not supported in decorators but ' ...
Function calls are not supported in decorators but 'QuillModule' was called. Unexpected value 'undefined' imported by the module ...
Read more >
Function calls are not supported in decorators but ...
trying to setup ngx-formly-material-file, but I got an error: Function calls are not supported in decorators but 'FileTypeModule' was called.
Read more >
Solving AOT Error in NgRx: Function calls are not ...
Function calls are not supported in decorators but 'createAction' was called in 'reducers'. The core explanation for this error is well-covered in the ......
Read more >
Function calls are not supported in decorators but '' was called
I have created an Ionic 5 Angular 10 project and I am importing some animations as I have done for previous projects.
Read more >
Function calls are not supported in decorators
Function calls are not supported in decorators but 'QuillModule' was called. Unexpected value 'undefined' imported by the module 'AdminModule in C:/Projects/ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found