start-android-emulator icon indicating copy to clipboard operation
start-android-emulator copied to clipboard

UnhandledPromiseRejectionWarning

Open flexVDIDesktop opened this issue 3 years ago • 2 comments

This happens when I start the android emulator, UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:5287) [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. root@penguin:~# ^C root@penguin:~#

Screenshot 2022-06-10 5 06 13 PM

Please help me fix this issue.

flexVDIDesktop avatar Jun 10 '22 21:06 flexVDIDesktop

Hi @flexVDIDesktop

Can you provide the full logs in a gist?

wswebcreation avatar Jun 13 '22 05:06 wswebcreation

@wswebcreation here is my gist with UnhandledPromiseRejectionWarning

https://gist.github.com/casualuser/a81d75c2fa4377671cf66cd8d5f31f1a

➜  ~ sw_vers
ProductName:	macOS
ProductVersion:	12.4
BuildVersion:	21F79
➜  ~ node --version
v14.18.1

casualuser avatar Jun 24 '22 11:06 casualuser