Why is Node exiting with exit code 13, rather than hanging?

Node isn’t deadlocking because it’s noticing that it’s not waiting on anything. Here’s a great explanation of how it notices that. But because you’ve used a top-level await here, Node knows that its exiting abnormally and gives a 13 exit code.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top