quillEditor.component.ts (14,20): Cannot find namespace 'Quill'.
lingfengchencn opened this issue · 3 comments
Version "ngx-quill-editor": "^2.1.0", has following errors;
ERROR in /path/frontend/node_modules/ngx-quill-editor/quillEditor.component.ts (14,20): Cannot find namespace 'Quill'.
ERROR in /path/frontend/node_modules/ngx-quill-editor/quillEditor.component.ts (15,22): Cannot find namespace 'Quill'.
ERROR in /path/frontend/node_modules/ngx-quill-editor/quillEditor.component.ts (16,22): Cannot find namespace 'Quill'.
ERROR in /path/frontend/node_modules/ngx-quill-editor/quillEditor.component.ts (17,18): Cannot find namespace 'Quill'.
ERROR in /path/frontend/node_modules/ngx-quill-editor/quillEditor.component.ts (18,20): Cannot find namespace 'Quill'.
ERROR in /path/frontend/node_modules/ngx-quill-editor/quillEditor.component.ts (19,15): Cannot find name 'require'.
webpack: Failed to compile.
Same error when update to 2.1.0
This issue is caused by the upgrade, please use the 2.0.2 version, I will solve this problem as soon as possible.
npm i ngx-quill-editor@2.0.2
Or install the types to be used with the package rather than relying on any type for everything
npm install --save-dev @types/quill