Ngx-quill: 9.2.0 Build error

Created on 4 May 2020  路  4Comments  路  Source: KillerCodeMonkey/ngx-quill

Upgraded to latest version 9.2.0 and getting error during build.

Compiling ngx-quill : es2015 as esm2015

ERROR in node_modules/ngx-quill/src/quill-editor.component.d.ts:3:17 - error TS2614: Module '"C:/Users/pedro/Documents/Development/ussi/e-solutions/node_modules/@types/quill"' has no exported member 'Delta'. Did you mean to use 'import Delta from "C:/Users/pedro/Documents/Development/ussi/e-solutions/node_modules/@types/quill"' instead?

3 import Quill, { Delta } from 'quill';

Most helpful comment

Downgrading to @types/quill": "^1.3.10" fixed it. Thanks!

All 4 comments

did you installed @types/quill as dev dependency? You have to install the correct @types like v 1.3.10 i think quill typings v2 are pointing to quilljs v2, which is in dev state.

it is working in my demo repo:
https://github.com/KillerCodeMonkey/ngx-quill-example
https://killercodemonkey.github.io/ngx-quill-example/

Downgrading to @types/quill": "^1.3.10" fixed it. Thanks!

the same here

installed versions:
ngx-quill: 12.0.1 (requires quill v1.3.7)
quill: 1.3.7
quill-delta: 4.2.2
@types/quill: 2.0.4

I had same issue as @eng-dibo. Downgrading to @types/quill ^1.3.10 worked for me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tommueller picture tommueller  路  3Comments

anthonyinspace picture anthonyinspace  路  3Comments

jadamconnor picture jadamconnor  路  5Comments

MarkusLei22 picture MarkusLei22  路  5Comments

bricksimpleseanmccaffery picture bricksimpleseanmccaffery  路  3Comments