강의

멘토링

커뮤니티

Inflearn Community Q&A

catfrogcamel4713's profile image
catfrogcamel4713

asked

Node and React series that you can learn by following - Basic lecture

Node React Basics Lecture #24 Concurrently

EADDRINUSE: address already in use :::5000

Written on

·

275

0

이런게 뜹니다. 실행중인 서버는 없는데도 말이죠..  포트를 바꿔서 진행해봐도 똑같습니다.. 백앤드만 따로 실행하면 되구요. 

reactnodejs

Answer 1

2

client, server 나누고 루트 폴더에다가 "start": "concurrently \"yarn --cwd server dev\" \"yarn --cwd client start\""

이렇게 했더니 잘 됩니다..

같은 문제로 골머리 썩고 있었는데, 폴더는 나누지 않았고 루트 폴더에서  "concurrently \"yarn backend\" \"yarn --cwd client start\""로 실행시키니 잘 되네요. 어쩌면 yarn의 문제일까요

catfrogcamel4713's profile image
catfrogcamel4713

asked

Ask a question