Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks
lo6041 opened this issue Jul 6, 2018 · 7 comments

Comments

@lo6041
Copy link

lo6041 commented Jul 6, 2018

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+
@teonapster
Copy link

facing the same issue. Any further feedback ?

@chengqinngling
Copy link

获取id 的时候去除$

@IAmRC1
Copy link

IAmRC1 commented May 14, 2020

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

@amikmandal
Copy link

Facing the same issue

@PerfKeeper
Copy link

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

@poconri
Copy link

poconri commented Apr 17, 2023

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

@surbhi-software
Copy link

Hello,

Anybody able to find any solution to this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
8 participants