Ngx-quill: Module not found: Error: Can't Resolve 'quill'

Created on 17 Oct 2018  ·  6Comments  ·  Source: KillerCodeMonkey/ngx-quill

I'm trying to add ngx-quill to AngularFire2 (that uses Angular 6 and Firebase)
I've installed via "npm install ngx-quill", that automatically adds himself to package.json
and manually added ngx-quill to app.modules, as the installation guides says.

BUT 'ng serve' returns me the follow error:
ERROR in ./node_modules/ngx-quill/fesm5/ngx-quill.js Module not found: Error: Can't resolve 'quill' in './node_modules/ngx-quill/fesm5'

Most helpful comment

You need to Install peer dependency by your self.
For NPM use this npm install [email protected]

All 6 comments

Please Check already Closed issues and Take a look in the readme. You have
to install quilljs an Your own. It is a peerdependency of ngx-quill.

gui679 notifications@github.com schrieb am Mi., 17. Okt. 2018, 01:27:

I'm trying to add ngx-quill to AngularFire2
https://github.com/angular/angularfire2 (that uses Angular 6 and
Firebase)
I've installed via "npm install ngx-quill", that automatically adds
himself to package.json
and manually added ngx-quill to app.modules, as the installation guides
says.

BUT 'ng serve' returns me the follow error:
ERROR in ./node_modules/ngx-quill/fesm5/ngx-quill.js Module not found:
Error: Can't resolve 'quill' in './node_modules/ngx-quill/fesm5'


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/KillerCodeMonkey/ngx-quill/issues/259, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ACKOYInMWX0DhRI69YxYImBOb2SzlnD3ks5ulmtJgaJpZM4XilRe
.

This should be mentioned on documentation, I can't find about quilljs installation.

having this issue even I install the quilljs. My current env is

Angular CLI: 8.0.0
Node: 12.2.0
OS: linux x64
Angular: 8.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

and

"ngx-quill": "^5.2.0",
"quilljs": "^0.18.1",

and tsconfig.json target is

"target": "es5",

I think quilljs ist Not the right dependency. And yarn and npm are Warning
You, that there are missing peerdependencies ;).

And in the readme is the topic "Installation" where all Peer dependencies
are listed ... Which You have to Install in your own.. even that You have
to Install "quill" Not "quilljs".

And there are example repos what quill and Version You should Install...

webcat_black notifications@github.com schrieb am Do., 30. Mai 2019, 05:01:

having this issue even I install the quilljs. My current env is

Angular CLI: 8.0.0
Node: 12.2.0
OS: linux x64
Angular: 8.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

and

"ngx-quill": "^5.2.0",
"quilljs": "^0.18.1",

and tsconfig.json target is

"target": "es5",


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/KillerCodeMonkey/ngx-quill/issues/259?email_source=notifications&email_token=AARI4YBBNATHIVMMIXLF3JDPX47QZA5CNFSM4F4KKRPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWRGZTY#issuecomment-497183951,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARI4YCJ54ITCMK6Q2HRJJ3PX47QZANCNFSM4F4KKRPA
.

Yes, I had to install quill as a peer dependency but for me, the documentation doesn't make sense...

You need to Install peer dependency by your self.
For NPM use this npm install [email protected]

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anthonyinspace picture anthonyinspace  ·  3Comments

luksireiku picture luksireiku  ·  5Comments

Fzwael picture Fzwael  ·  3Comments

qikong333 picture qikong333  ·  5Comments

bolota picture bolota  ·  3Comments