You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2025. It is now read-only.
To start my project, I ran yarn start which executes ts-node-dev src/index.ts
Every time I stop the project Ctrl+C, when I run it back again, I mean yarn start I have this error
$ yarn start
yarn run v1.22.19
$ ts-node-dev --respawn --transpile-only --tree-kill src/index.ts
[INFO] 01:57:37 ts-node-dev ver. 2.0.0 (using ts-node ver. 10.9.1, typescript ver. 4.9.4)
Starting ....
connected to localhost:4222
Error: listen EADDRINUSE: address already in use :::4000
at Server.setupListenHandle [as _listen2] (node:net:1330:16)
at listenInCluster (node:net:1378:12)
at Server.listen (node:net:1465:7)
at /Users/maelfosso/Documents/Projects/StockInos/rt/src/index.ts:29:10
at Generator.next (<anonymous>)
at fulfilled (/Users/maelfosso/Documents/Projects/StockInos/rt/src/index.ts:5:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[ERROR] 01:57:37 Error: listen EADDRINUSE: address already in use :::4000
^C
Context
OS version (is it docker or host?), ts-node-dev version
MacOs Venture 13.0.1
ts-node-dev ver. 2.0.0 (using ts-node ver. 10.9.1, typescript ver. 4.9.4)
Issue description
To start my project, I ran
yarn startwhich executests-node-dev src/index.tsEvery time I stop the project
Ctrl+C, when I run it back again, I meanyarn startI have this errorContext
OS version (is it docker or host?), ts-node-dev version
MacOs Venture 13.0.1
ts-node-dev ver. 2.0.0 (using ts-node ver. 10.9.1, typescript ver. 4.9.4)
Did you try to run with ts-node?
No
Did you try to run with
--filesoption enabled?yes
Did you try to run with
--debugoption enabled?yes
Do you have a repro example (git repo) with simple steps to reproduce your problem?
No