question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Commit #1712 breaks my scripts with 'UnhandledPromiseRejectionWarning'

See original GitHub issue

Currently I’m running my scripts on the latest master. Since https://github.com/GoogleChrome/puppeteer/pull/1712 was merged I get an “Unhandled Promise Rejection Warning” in my terminal and my scripts stop at this point. If i use the sha just before this commit all is well.

I’m a bit of novice when it comes to some things so forgive me if I’m missing something here.

(node:78444) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Protocol error (Runtime.callFunctionOn): Object couldn't be returned by value undefined
(node:78444) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
patrickeakincommented, Jan 9, 2018

@aslushnikov @JoelEinbinder That did the trick. Thanks a ton!!

1reaction
JoelEinbindercommented, Jan 8, 2018

Interesting. I imagine https://github.com/GoogleChrome/puppeteer/pull/1712/files#diff-16f3b9739b97830927de83812ac92d78R718 is throwing. I’ll need to rethink how to implement that. Thanks for the report.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Commit #1712 breaks my scripts with ... - GitHub
Currently I'm running my scripts on the latest master. Since #1712 was merged I get an "Unhandled Promise Rejection Warning" in my terminal ......
Read more >
@google-cloud/firestore | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >
Renovate Bot Package Diff
- - The CLI is now an ES module and requires at least Node.js v12.20. Fixed previous releases by using Rollup instead of...
Read more >
Update puppeteer to the latest version (!1051) · 合并请求· wechaty ...
... Commit #1712 breaks my scripts with 'UnhandledPromiseRejectionWarning' ... waitFor* calls (#1712) ... Commits. The new version differs by 90 commits.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found