HELP: Can you explain this a little more ?
See original GitHub issuehttps://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:
- Created 5 years ago
- Comments:11 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
OK just pushed a commit to update nodemon. Nice catch.