Dom-to-image: oops, something went wrong! ReferenceError: HTMLCanvasElement is not defined

Created on 17 May 2018  路  2Comments  路  Source: tsayen/dom-to-image

hi ,
I'm getting this error . Anyone can help?
oops, something went wrong! ReferenceError: HTMLCanvasElement is not defined

Most helpful comment

Hi,
are you by any chance trying to run this with Node in the backend ?
I ran into this error trying exactly that, but when I moved this logic to my app's front end, the whole thing went smoothly.
Hope it helps.

All 2 comments

+1 on this issue, I have the same error for no reason...
@muhammad-dev did you find something?

Hi,
are you by any chance trying to run this with Node in the backend ?
I ran into this error trying exactly that, but when I moved this logic to my app's front end, the whole thing went smoothly.
Hope it helps.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shahebaz444 picture shahebaz444  路  5Comments

da1z picture da1z  路  6Comments

lixiaoran0716 picture lixiaoran0716  路  6Comments

DanielZambranoC picture DanielZambranoC  路  5Comments

Pistil-Studio picture Pistil-Studio  路  6Comments