• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

npm start 시 오류

22.09.13 14:21 작성 조회수 432

0

npm run start

> boiler-plate@1.0.0 start

> node index.js

node:events:491

throw er; // Unhandled 'error' event

^

Error: listen EADDRINUSE: address already in use :::5000

at Server.setupListenHandle [as _listen2] (node:net:1432:16)

at listenInCluster (node:net:1480:12)

at Server.listen (node:net:1568:7)

at Function.listen (C:\Users\BPnSolution\Desktop\신입 교육\study\react02\boiler-plate\node_modules\express\lib\application.js:635:24)

at Object.<anonymous> (C:\Users\BPnSolution\Desktop\신입 교육\study\react02\boiler-plate\index.js:47:5)

at Module._compile (node:internal/modules/cjs/loader:1126:14)

at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)

at Module.load (node:internal/modules/cjs/loader:1004:32)

at Function.Module._load (node:internal/modules/cjs/loader:839:12)

at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)

Emitted 'error' event on Server instance at:

at emitErrorNT (node:net:1459:8)

at processTicksAndRejections (node:internal/process/task_queues:83:21) {

code: 'EADDRINUSE',

errno: -4091,

syscall: 'listen',

address: '::',

port: 5000

}

 

npm run start 입력 시 이런 문구가 뜨면서 에러가 납니다 어떻게 해야 하나요?

답변 1

답변을 작성해보세요.

0

bpns님의 프로필

bpns

질문자

2022.09.13


노드 리액트 기초 강의 #7 BodyParser & PostMan & 회원 가입 기능 에서 입니다