Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

heroku local web error #81

Closed
CharlBest opened this issue Sep 27, 2017 · 2 comments
Closed

heroku local web error #81

CharlBest opened this issue Sep 27, 2017 · 2 comments

Comments

@CharlBest
Copy link

CharlBest commented Sep 27, 2017

Hi.
I was following the Getting Started on Heroku with Node.js tutorial and then when I ran "heroku local web" it gave me this error:

image

I then removed the debug flag in the Procfile and it worked.

image

The documentation also shows the Procfile without the debug file.

image

Not sure if its a bug or not or maybe node version mismatch but thought I'd let you guys know.

First time using Heroku. Really liking it!

Update: I see it was added 20 days ago in commit 1822367#diff-5bd6b85c2d6fc987875f4bf82de2a15a

@frankwrk
Copy link

I encountered the same problem in testing this. Another way to fix it is by installing node --inspect, like this npm install --save --save-exact node --inspect . After that, in your Procfile, you can replace --debug with --inspect and it should work.

@akhilbh92
Copy link

Thanks @skyrol ... Your solution worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants