TypeError: Cannot read property 'customElements' of undefined - html2Canvas
See original GitHub issueI’ve seen a few issues mention CustomElements, however I’m not sure if they’re resolved.
We make extensive use of html2canvas for rendering SVGs etc in 3D.
I’m getting this error:
Failure loading node: TypeError: Cannot read property 'customElements' of undefined
at new HTMLElement (/home/owner/workspace/client/exokit/src/DOM.js:1352:30)
at new DocumentFragment (/home/owner/workspace/client/exokit/src/Document.js:520:5)
at new Range (/home/owner/workspace/client/exokit/src/Document.js:532:5)
at Document.document.createRange (/home/owner/workspace/client/exokit/src/Document.js:71:32)
at Support.testRangeBounds (/static/js/7.chunk.js:1493:24)
at new Support (/static/js/7.chunk.js:1480:29)
at renderNode (/static/js/7.chunk.js:1378:19)
at html2canvas (/static/js/7.chunk.js:1342:12)
at NewShader.__render (/static/js/7.chunk.js:1236:26)
at NewShader.__ready (/static/js/7.chunk.js:1272:12)
at NewShader.__setTexure (/static/js/7.chunk.js:952:14)
at NewShader.__validateSrc (/static/js/7.chunk.js:1074:11)
at NewShader.__updateTexture (/static/js/7.chunk.js:1039:14)
at NewShader.update (/static/js/7.chunk.js:879:12)
Does this mean CustomElements and Html2Canvas are not supported?
Thanks
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Cannot read property 'canvas' of undefined · Issue #1195 · ...
I'm getting a TypeError html2canvas.js:2264 Uncaught TypeError: Cannot read property 'canvas' of undefined at html2canvas ...
Read more >jquery : html2canvas alternative - javascript
The errors I receive are the following: TypeError: Cannot read properties of undefined (reading 'getObject'); Uncaught (in promise) TypeError: ...
Read more >how to use html2canvas angular Code Example
import html2canvas from 'html2canvas'; ... ModuleNotFoundError: No module named 'PySimpleGUI' · TypeError: Cannot read property 'version' of undefined ...
Read more >class extends value undefined is not a constructor or null ...
it's looking for a property on the imported module named Base , but there is no such property. You exported the class as...
Read more >Splitter error in new project | Angular - EJ 2 Forums
ERROR TypeError: Class constructor Component cannot be invoked without ... TypeError: Cannot read property 'ganttProperties' of undefined.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Updated and this is fixed.
The prerendered sprite sheet will be the fastest way, performance-wise. It’s probably not a good idea to have 100 iframes, though it could work if it was packed into a single iframe.