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.

UnhandledPromiseRejectionWarning on an ubuntu ec2 instance

See original GitHub issue

Hi,

First of all, thank you for the excellent boilerplate. It has everything I need and more, much more!!

I need some assistance with an issue when I try to run the app on an ubuntu ec2 instance.

I ran it using yarn start:production and the error that was outputted is

(node:7985) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Exited with code 3

The base cause as highlighted in #31 is unhandled catch for Promise, but I couldn’t find any unhandled Promises except in maybe src/routes.js.

The node version is 6.11.1. Any help would be great. Do please let me know if you need any other details.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
deepank411commented, Jul 17, 2017

A free tier is available to use for an year but requires a debit card for verification. AWS Free Tier.

Thanks a lot! Will wait for a response.

0reactions
wellyshencommented, Jul 31, 2017

Close for the unhandled promise issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to launch chromium headless using puppeteer on ...
Works as charm on my local system. When I try to run the same microservice on EC2 ubuntu 16.04 server, it is unable...
Read more >
Tutorial: Setting Up Node.js on an Amazon EC2 Instance
Connect to your Linux instance as ec2-user using SSH. Install node version manager (nvm) by typing the following at the command line.
Read more >
[Solved]-aws-serverless-express connection error - EPIPE-node.js
My EJS include causes error in my express app. Connecting to node.js server on same AWS instance different port, connection refused · AWS...
Read more >
UnhandledPromiseRejectionWarning: Error: listen EACCES ...
Answers related to “UnhandledPromiseRejectionWarning: Error: listen EACCES: permission ... error: listen eacces: permission denied 0.0.0.0:443 ubuntu 18.04 ...
Read more >
Running Ubuntu Desktop on an AWS EC2 instance
Access to an AWS EC2 instance using commandline - This tutorial assumes that you're logged into the machine using SSH; A machine running...
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