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.

Documentation unclear - Deploy on heroku failing to compile : App crashed / at Module._compile

See original GitHub issue

Hi, trying out the “deploy to heroku” button, I get an Application Error and the following in the logs :

2020-09-30T03:39:41.923448+00:00 app[web.1]:     at Function.Module._load (internal/modules/cjs/loader.js:782:14)

2020-09-30T03:39:41.923448+00:00 app[web.1]:     at Module.require (internal/modules/cjs/loader.js:965:19)

2020-09-30T03:39:41.923449+00:00 app[web.1]:     at require (internal/modules/cjs/helpers.js:88:18)

2020-09-30T03:39:41.923449+00:00 app[web.1]:     at Object.<anonymous> (/app/controllers/encrypt.js:4:13)

2020-09-30T03:39:41.923449+00:00 app[web.1]:     at Module._compile (internal/modules/cjs/loader.js:1076:30)

2020-09-30T03:39:42.033933+00:00 heroku[web.1]: Process exited with status 0

2020-09-30T03:39:42.068017+00:00 heroku[web.1]: State changed from starting to crashed

2020-09-30T07:14:00.911533+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/v2/connect/GITHUB-USERNAME/GITHUB-REPOSITORY" host=staticman-logilab.herokuapp.com request_id=6ba72efc-7a57-48fa-8bb3-2c93f268df5c fwd="93.26.58.90" dyno= connect= service= status=503 bytes= protocol=https

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
pingu8007commented, Nov 15, 2020

As you said, Staticman’s document is really out of date. Since your issue is actually due to misconfiguration (missing private key), I would suggest update your title to highlight the root cause.

BTW, the blog post is listed under the Useful links section already. :p

0reactions
alexwaibelcommented, Nov 22, 2020

Closing since you appear to have resolved the issue. Reworking the documentation is high on our todo list. Closing as duplicate of #367

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Node.js Deploys - Heroku Dev Center
Your Node.js deploy failed - now what? Start with these simple steps to troubleshoot a build issue. Check the buildpack. Is the app...
Read more >
Why is this Go build failing on Heroku? It builds locally with no ...
Go Module Specifics. You can specify specific package spec(s) via the go.mod file's // +heroku install directive (see below) ...
Read more >
Causes of Heroku H10-App Crashed Error And How To Solve ...
This article is focused on the Heroku H10-App crashed error code which is thrown when an application crashes on Heroku.
Read more >
Error: Cannot find module when deploying to heroku #198
Using latest next.js relase and a simple hello world index page with 0 dependencies fails to run on heroku with the following error:....
Read more >
Deploying your Dash App to Heroku — THE MAGICAL GUIDE
It's got clear, concise documentation; It natively supports Python web apps (read: minimal config needed). What is Heroku? It's a platform-as-a- ...
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