Function calls are not supported in decorators but 'QuillModule' was called.
See original GitHub issueI’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:
- Created 2 years ago
- Comments:16 (8 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
Sure I will give update after the migration to Angular 10 version.