dom-to-image icon indicating copy to clipboard operation
dom-to-image copied to clipboard

Uncaught (in promise) TypeError: node.cloneNode is not a function at makeNodeCopy (dom-to-image.js:191)

Open lo6041 opened this issue 6 years ago • 7 comments

Uncaught (in promise) TypeError: node.cloneNode is not a function at makeNodeCopy (dom-to-image.js:191)

Use case: description, code

jsfiddle

Expected behavior

Actual behavior (stack traces, console logs etc)

Library version

Browsers

  • [ ] Chrome 49+
  • [ ] Firefox 45+

lo6041 avatar Jul 06 '18 08:07 lo6041

facing the same issue. Any further feedback ?

teonapster avatar Jan 07 '19 07:01 teonapster

获取id 的时候去除$

chengqinngling avatar Jan 29 '19 02:01 chengqinngling

using this code

     domtoimage
      .toPng(node, {
        quality: 1.0,
      })
      .then(function (dataUrl) {
        var img = new window.Image();
        img.src = dataUrl;
        document.getElementsByClassName('wrapper').appendChild(img);
      })
      .catch(function (error) {
        console.error('oops, something went wrong!', error);
      });

facing same error as above

IAmRC1 avatar May 14 '20 17:05 IAmRC1

Facing the same issue

amikmandal avatar Jun 24 '20 10:06 amikmandal

Hello, Here is the same error displayed in google chrome devtools console :

image

It seems that is originating from this file :

image

My code, calling dom-to-image module :

image

Waiting for your analysis...

Best regards

PerfKeeper avatar Mar 28 '21 15:03 PerfKeeper

It just happens to me as well. So we have an update?

poconri avatar Apr 17 '23 07:04 poconri

Hello,

Anybody able to find any solution to this problem?

surbhi-software avatar Mar 14 '24 05:03 surbhi-software