Ngx-quill: Buffer.isBugger is not a function

Created on 7 Aug 2018  Â·  9Comments  Â·  Source: KillerCodeMonkey/ngx-quill

I am getting this error below and it looks like it is on the quill side. I followed the instructions as outlined in the readme but can't seem to get it to work. Has anyone had this issue?

ERROR TypeError: Buffer.isBuffer is not a function
    at _clone (quill.js:3948)
    at clone (quill.js:4038)
    at Selection.update (quill.js:3194)
    at new Selection (quill.js:2839)
    at new Quill (quill.js:1108)
    at QuillEditorComponent.push../node_modules/ngx-quill/src/quill-editor.component.js.QuillEditorComponent.ngAfterViewInit (quill-editor.component.js:119)
    at callProviderLifecycles (core.js:9565)
    at callElementProvidersLifecycles (core.js:9539)
    at callLifecycleHooksChildrenFirst (core.js:9529)
    at checkAndUpdateView (core.js:10465)
    at callViewAction (core.js:10697)
    at execEmbeddedViewsAction (core.js:10660)
    at checkAndUpdateView (core.js:10457)
    at callViewAction (core.js:10697)
    at execEmbeddedViewsAction (core.js:10660)
    at checkAndUpdateView (core.js:10457)

Most helpful comment

Got it. I had forgotten that I had used this StackOverflow answer to fix something awhile ago, and had to move to the second solution. Seems to be working as expected now.

Thanks for the lighting fast responses! Hope this helps someone else down the road.

All 9 comments

Wooot.. How Do You Use ngx quill? Please Provide a Demo Repo oder Code
plunkr

Josh Rathke notifications@github.com schrieb am Di., 7. Aug. 2018, 19:34:

I am getting this error below and it looks like it is on the quill side. I
followed the instructions as outlined in the readme but can't seem to get
it to work. Has anyone had this issue?

ERROR TypeError: Buffer.isBuffer is not a function
at _clone (quill.js:3948)
at clone (quill.js:4038)
at Selection.update (quill.js:3194)
at new Selection (quill.js:2839)
at new Quill (quill.js:1108)
at QuillEditorComponent.push../node_modules/ngx-quill/src/quill-editor.component.js.QuillEditorComponent.ngAfterViewInit (quill-editor.component.js:119)
at callProviderLifecycles (core.js:9565)
at callElementProvidersLifecycles (core.js:9539)
at callLifecycleHooksChildrenFirst (core.js:9529)
at checkAndUpdateView (core.js:10465)
at callViewAction (core.js:10697)
at execEmbeddedViewsAction (core.js:10660)
at checkAndUpdateView (core.js:10457)
at callViewAction (core.js:10697)
at execEmbeddedViewsAction (core.js:10660)
at checkAndUpdateView (core.js:10457)

—
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/224, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ACKOYDRJ3yJ1AK34n3sbdmuv-H0DIgFhks5uOc-pgaJpZM4Vyla-
.

I'm not doing anything crazy. The entire application is an Angular CLI
application built with Webpack. At this point it is up to date with Angular

  1. I added the QuillModule into the module I need the editor in, added the
    quill-editor component to the DOM, and added quill and the themes to my
    scripts and styles in angular.json. Any thoughts from that? I won't be able
    to mock anything up for awhile.

On Tue, Aug 7, 2018 at 11:37 AM, Bengt Weiße notifications@github.com
wrote:

Wooot.. How Do You Use ngx quill? Please Provide a Demo Repo oder Code
plunkr

Josh Rathke notifications@github.com schrieb am Di., 7. Aug. 2018,
19:34:

I am getting this error below and it looks like it is on the quill side.
I
followed the instructions as outlined in the readme but can't seem to get
it to work. Has anyone had this issue?

ERROR TypeError: Buffer.isBuffer is not a function
at _clone (quill.js:3948)
at clone (quill.js:4038)
at Selection.update (quill.js:3194)
at new Selection (quill.js:2839)
at new Quill (quill.js:1108)
at QuillEditorComponent.push../node_modules/ngx-quill/src/
quill-editor.component.js.QuillEditorComponent.ngAfterViewInit
(quill-editor.component.js:119)
at callProviderLifecycles (core.js:9565)
at callElementProvidersLifecycles (core.js:9539)
at callLifecycleHooksChildrenFirst (core.js:9529)
at checkAndUpdateView (core.js:10465)
at callViewAction (core.js:10697)
at execEmbeddedViewsAction (core.js:10660)
at checkAndUpdateView (core.js:10457)
at callViewAction (core.js:10697)
at execEmbeddedViewsAction (core.js:10660)
at checkAndUpdateView (core.js:10457)

—
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/224, or mute the
thread
auth/ACKOYDRJ3yJ1AK34n3sbdmuv-H0DIgFhks5uOc-pgaJpZM4Vyla->
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/KillerCodeMonkey/ngx-quill/issues/224#issuecomment-411140133,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADV8V_xNzFcCSg4QV8BGBDNPMAZLU-p4ks5uOdB3gaJpZM4Vyla-
.

Strange i have such a local empty angular cli project and it is Working...

Josh Rathke notifications@github.com schrieb am Di., 7. Aug. 2018, 20:02:

I'm not doing anything crazy. The entire application is an Angular CLI
application built with Webpack. At this point it is up to date with Angular

  1. I added the QuillModule into the module I need the editor in, added the
    quill-editor component to the DOM, and added quill and the themes to my
    scripts and styles in angular.json. Any thoughts from that? I won't be able
    to mock anything up for awhile.

On Tue, Aug 7, 2018 at 11:37 AM, Bengt Weiße notifications@github.com
wrote:

Wooot.. How Do You Use ngx quill? Please Provide a Demo Repo oder Code
plunkr

Josh Rathke notifications@github.com schrieb am Di., 7. Aug. 2018,
19:34:

I am getting this error below and it looks like it is on the quill
side.
I
followed the instructions as outlined in the readme but can't seem to
get
it to work. Has anyone had this issue?

ERROR TypeError: Buffer.isBuffer is not a function
at _clone (quill.js:3948)
at clone (quill.js:4038)
at Selection.update (quill.js:3194)
at new Selection (quill.js:2839)
at new Quill (quill.js:1108)
at QuillEditorComponent.push../node_modules/ngx-quill/src/
quill-editor.component.js.QuillEditorComponent.ngAfterViewInit
(quill-editor.component.js:119)
at callProviderLifecycles (core.js:9565)
at callElementProvidersLifecycles (core.js:9539)
at callLifecycleHooksChildrenFirst (core.js:9529)
at checkAndUpdateView (core.js:10465)
at callViewAction (core.js:10697)
at execEmbeddedViewsAction (core.js:10660)
at checkAndUpdateView (core.js:10457)
at callViewAction (core.js:10697)
at execEmbeddedViewsAction (core.js:10660)
at checkAndUpdateView (core.js:10457)

—
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/224, or mute
the
thread
auth/ACKOYDRJ3yJ1AK34n3sbdmuv-H0DIgFhks5uOc-pgaJpZM4Vyla->
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/KillerCodeMonkey/ngx-quill/issues/224#issuecomment-411140133
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ADV8V_xNzFcCSg4QV8BGBDNPMAZLU-p4ks5uOdB3gaJpZM4Vyla-

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/KillerCodeMonkey/ngx-quill/issues/224#issuecomment-411147645,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACKOYBTQYdH8J4Nbvgq-KpW9L4wepE5lks5uOdYbgaJpZM4Vyla-
.

I Do Not Use buffer in my Code. Maybe You have some typing issues? Like
node types or something like that

Bengt Weiße bengtler@googlemail.com schrieb am Di., 7. Aug. 2018, 20:03:

Strange i have such a local empty angular cli project and it is Working...

Josh Rathke notifications@github.com schrieb am Di., 7. Aug. 2018,
20:02:

I'm not doing anything crazy. The entire application is an Angular CLI
application built with Webpack. At this point it is up to date with
Angular

  1. I added the QuillModule into the module I need the editor in, added the
    quill-editor component to the DOM, and added quill and the themes to my
    scripts and styles in angular.json. Any thoughts from that? I won't be
    able
    to mock anything up for awhile.

On Tue, Aug 7, 2018 at 11:37 AM, Bengt Weiße notifications@github.com
wrote:

Wooot.. How Do You Use ngx quill? Please Provide a Demo Repo oder Code
plunkr

Josh Rathke notifications@github.com schrieb am Di., 7. Aug. 2018,
19:34:

I am getting this error below and it looks like it is on the quill
side.
I
followed the instructions as outlined in the readme but can't seem to
get
it to work. Has anyone had this issue?

ERROR TypeError: Buffer.isBuffer is not a function
at _clone (quill.js:3948)
at clone (quill.js:4038)
at Selection.update (quill.js:3194)
at new Selection (quill.js:2839)
at new Quill (quill.js:1108)
at QuillEditorComponent.push../node_modules/ngx-quill/src/
quill-editor.component.js.QuillEditorComponent.ngAfterViewInit
(quill-editor.component.js:119)
at callProviderLifecycles (core.js:9565)
at callElementProvidersLifecycles (core.js:9539)
at callLifecycleHooksChildrenFirst (core.js:9529)
at checkAndUpdateView (core.js:10465)
at callViewAction (core.js:10697)
at execEmbeddedViewsAction (core.js:10660)
at checkAndUpdateView (core.js:10457)
at callViewAction (core.js:10697)
at execEmbeddedViewsAction (core.js:10660)
at checkAndUpdateView (core.js:10457)

—
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/224, or mute
the
thread
auth/ACKOYDRJ3yJ1AK34n3sbdmuv-H0DIgFhks5uOc-pgaJpZM4Vyla->
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/KillerCodeMonkey/ngx-quill/issues/224#issuecomment-411140133
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ADV8V_xNzFcCSg4QV8BGBDNPMAZLU-p4ks5uOdB3gaJpZM4Vyla-

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/KillerCodeMonkey/ngx-quill/issues/224#issuecomment-411147645,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACKOYBTQYdH8J4Nbvgq-KpW9L4wepE5lks5uOdYbgaJpZM4Vyla-
.

Got it. I had forgotten that I had used this StackOverflow answer to fix something awhile ago, and had to move to the second solution. Seems to be working as expected now.

Thanks for the lighting fast responses! Hope this helps someone else down the road.

Nice! Glad You got it Working.

Josh Rathke notifications@github.com schrieb am Di., 7. Aug. 2018, 20:24:

Got it. I had forgotten that I had used this StackOverflow answer
https://stackoverflow.com/questions/50356408/upgrading-to-angular-6-x-gives-uncaught-referenceerror-global-is-not-defined
to fix something awhile ago, and had to move to the second solution. Seems
to be working as expected now.

Thanks for the lighting fast responses! Hope this helps someone else down
the road.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/KillerCodeMonkey/ngx-quill/issues/224#issuecomment-411154550,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACKOYOr05pgOaJ5amORC_r0aUA8UNH4qks5uOdtfgaJpZM4Vyla-
.

Got it. I had forgotten that I had used this StackOverflow answer to fix something awhile ago, and had to move to the second solution. Seems to be working as expected now.

Thanks for the lighting fast responses! Hope this helps someone else down the road.

I implemented the same fix somewhere, and I would have never found it if it weren't for you! Thank you very much @joshrathke !!!

@KillerCodeMonkey
This is not working in Angular 8 + Ionic 4.
Screen Shot 2019-10-06 at 5 44 36 PM

like discussed here... it is not an ngx-quill issue.

Checkout my ionic 4 + angular 8 example repo :).
It is working in dev and production builds in the browser and on device

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KerickHowlett picture KerickHowlett  Â·  38Comments

junimohano picture junimohano  Â·  20Comments

ShaneJohnsonCC picture ShaneJohnsonCC  Â·  18Comments

tokaika picture tokaika  Â·  23Comments

victorevox picture victorevox  Â·  99Comments