1

I updated my project from angular 16 to 17. After the upgrade, the prime-ng editor component that uses quill (updated from v1.3.7 to v2.0.2) is failing to render with the following error on the browser console -

this.dynamicQuill is not a constructor
(anonymous) @   primeng-editor.mjs:179

Any pointers to resolve this?

9
  • please share angular and primeng exact versions also delete .angular, node_modules and package-lock.json do a fresh install and check once Commented Nov 13, 2024 at 9:30
  • @angular/core - 17.3.12 primeng - 17.18.11 I have tried clearing .angular, node_modules and package-lock.json, but that did not help Commented Nov 13, 2024 at 9:49
  • issue not reproducible stackblitz Commented Nov 13, 2024 at 10:10
  • I too tried to reproduce this in a separate app but couldn't. Any pointers that you can provide on how to debug this? Commented Nov 13, 2024 at 10:22
  • in the separate app, copy paste your src/app content and check if the issue happens, then the problem is in your code, check the stacktrace for easy debugging Commented Nov 13, 2024 at 10:24

1 Answer 1

0

The project is using webpack. Excluding quill from the shared plugins resolves the mentioned issue.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.