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.

HELP: Can you explain this a little more ?

See original GitHub issue

https://github.com/BretFisher/node-docker-good-defaults/blob/master/bin/www#L22

After getting through the docker-compose section of your class, I figured I’d try to get my local env running before continuing to docker swarm.

I used this repo as kind of a guide. My set up isn’t complicated services = [nest.js, redis, postgres] (nest.js is a framework around express)

I’m also using yarn and nodemon installed locally. CMD ['yarn', 'start:dev'] #=> nodemon

nodemon.json
{
  "watch": ["src"],
  "ext": "ts",
  "ignore": ["src/**/*.spec.ts", "src/graphql.schema.ts"],
  "exec": "ts-node -r tsconfig-paths/register src/main.ts"
}

docker-compose up works just find, but when I save a file it fails …

nest_1      | [Nest] 45   - 12/10/2018, 1:11:09 PM   [RoutesResolver] AppController {/}: +124ms
nest_1      | [Nest] 45   - 12/10/2018, 1:11:09 PM   [RouterExplorer] Mapped {/, GET} route +11ms
nest_1      | [Nest] 45   - 12/10/2018, 1:11:12 PM   [NestApplication] Nest application successfully started +3203ms
nest_1      | Error: listen EADDRINUSE :::4000
nest_1      |     at Server.setupListenHandle [as _listen2] (net.js:1286:14)
nest_1      |     at listenInCluster (net.js:1334:12)
nest_1      |     at Server.listen (net.js:1421:7)
nest_1      |     at NestApplication.listen (/opt/app/node_modules/@nestjs/core/nest-application.js:205:25)
nest_1      | [nodemon] app crashed - waiting for file changes before starting...

Any ideas?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
BretFishercommented, Dec 11, 2018

Great! Interesting, yea I keep using the default and not alpine because little issues like this keep creeping up and the default images keep getting smaller so it’s not as big a deal to force alpine on anyone, hence this repo’s still not using alpine by default.

1reaction
BretFishercommented, Dec 10, 2018

OK just pushed a commit to update nodemon. Nice catch.

Read more comments on GitHub >

github_iconTop Results From Across the Web

could you explain a little more | English examples in context
High quality example sentences with “could you explain a little more” in context from reliable sources - Ludwig is the linguistic search engine...
Read more >
Alessia Cara - A Little More (Lyrics) - YouTube
It would also help if you shared this video with others so they won't ... never get bored Can you blame me for...
Read more >
Little more than Definition & Meaning - Merriam-Webster
The meaning of LITTLE MORE THAN is not much more than (something) : only slightly more than (something). How to use little more...
Read more >
Why You Should Ask “Could You Please Clarify…?” Instead of ...
When you ask someone to explain something to you, it suggests that you're pretty lost, that you missed key points, or that they...
Read more >
12 Other Ways to Ask for Help in English
Here I will give you 12 other ways to ask for help in English. Don't say “help me” in English unless you're really...
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