Chrome: Uncaught (in promise)
See original GitHub issueTested in:
- Latest Chrome (stable)
- Latest Chromium
- Latest Firefox Developer Edition
I made a little something using html2canvas (stevenliebregt.github.io/html2png). I use html2canvas to create a png of the preview window. Locally this works great, but when hosted on GitHub Pages, the image is cut of at the bottom and the console gives me an Uncaught (in promise)
without any further info.
It does work fine hosted on GitHub Pages on Firefox Developer Edition though.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Why I get this Uncaught (in promise) on Chrome?
Why I get this Uncaught (in promise) on Chrome? · check your code where you are expecting promise resolves. try chaining those using...
Read more >uncaught (in promise) errors in Chrome Console
Hello,. I'm seeing a bunch of uncaught (in promise) errors on this page, with the message: {message: 'A listener indicated an asynchronous response...
Read more >Chrome logs 'Uncaught (in promise) TypeError' on load #403
Chrome dev (49.0.2623.23) logs an error to console when loading es6-shim. The error seems to come from the promiseResolveBroken test: var ...
Read more >chrome.tabs.sendMessage throw error - Google Groups
The message that I see is: "Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.” Is this on purpose...
Read more >chrome.scripting - Chrome Developers
Injects a script into a target context. The script will be run at document_idle . If the script evaluates to a promise, the...
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 FreeTop 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
Top GitHub Comments
There should be a catch handler in the promise call in line 166 in Clone.js.
this.resourceLoader.cache[iframeKey] = getIframeDocumentElement(node, this.options).then(function (documentElement) {
Fixed it by adding it. @niklasvh @StevenLiebregt
@LasithaPrabodha 's solution works for me as well. Is there any chance to push a new tag with the fix?