Closed Halanson closed 4 months ago
Maybe you have typings installed? But for quill v2 no extra typings should be installed?
Check the Demo repo. Maybe you find some differences there.
I'm not really sure how I fixed this, but the issue is gone. I also removed the typings for quilljs but I also changed some type hints in my code. I guess the combination of both fixed the issue.
Thank you for your help.
I had the same issue. I solved it by
npm i
I was facing the same problem, but the tricks that were describe here did not solve my problem, although they helped me.
Some other inner projects on my application (libraries projects) had reference to typing. So a remove then and installed all packages again and then it worked.
Did you checked out the Demo repo?
It is working there.
Maybe you have some old typings installed?
For quill 2.0 you do not need any additional typings to be installed. Even @types/quill v2 exist. They are not needed to be installed
I updated ngx-quill to 26.0.5 and quill to 2.0.2 via npm in my Angular 18.1.1 app. During TS compilation I always getting this error:
I checked the source code on my node_moduls and this line exists as expected. I also checked this repository https://github.com/KillerCodeMonkey/ngx-quill/blob/master/projects/ngx-quill/src/lib/quill-editor.component.ts#L99 and the zip file of version 26.0.5 release, but there is no import. Using the code tab of the npmjs.com registry, I find the line the compiler blames about.
I searched npmjs.com for parchment. Looks like this is the document model for quilljs. According to my node_modeles folder, I have parchment installed but not required in my package.json.
I also did a clean install. Have I missed something? Thank you for your help!