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

Starting inspector on 0.0.0.0:9229 failed: address already in use #69

Open
vettloffah opened this issue May 7, 2020 · 3 comments
Open
Labels

Comments

@vettloffah
Copy link

vettloffah commented May 7, 2020

When nodemon restarts the app it crashes:
Starting inspector on 0.0.0.0:9229 failed: address already in use

I tried upgrading to newer version of nodemon, not sure what else to do here other than remove the inspect flag. Any help is appreciated!

@BretFisher
Copy link
Owner

Search the nodemon issues. They talk about that problem. I sometimes get it and don't have a fix.

@diegolaciar
Copy link

@vettloffah

Hi, did you find a fix ?

I have the same issue, each time nodemon restarts, dev env can not start. address already in use

@diegolaciar
Copy link

update nodemon to v2.0.4 fixed the issue..

also changed docker-compose command like:

command: ../node_modules/.bin/nodemon

and added nodemon.json with this line, moving inspect to nodemon.json, also I' m using typescript

"exec": "node --inspect=0.0.0.0:9229 -r ts-node/register ./src/server.ts"  

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

No branches or pull requests

3 participants