에러 질문
240
작성한 질문수 74
PS C:\Users\min99\Documents\boiler-plate> npm run start
> boiler-plate@1.0.0 start
> node index.js
(node:18000) Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency(Use `node --trace-warnings ...` to show where the warning was created)
node:events:304
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE: address already in use :::3000
at Server.setupListenHandle [as _listen2] (node:net:1286:16)
at listenInCluster (node:net:1334:12)
at Server.listen (node:net:1420:7)
at Function.listen (C:\Users\min99\Documents\boiler-plate\node_modules\express\lib\application.js:618:24)
at Object.<anonymous> (C:\Users\min99\Documents\boiler-plate\index.js:16:5)
at Module._compile (node:internal/modules/cjs/loader:1083:30)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1112:10)
at Module.load (node:internal/modules/cjs/loader:948:32)
at Function.Module._load (node:internal/modules/cjs/loader:789:14)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:72:12)
at node:internal/main/run_main_module:17:47
Emitted 'error' event on Server instance at:
at emitErrorNT (node:net:1313:8)
at processTicksAndRejections (node:internal/process/task_queues:80:21) {
code: 'EADDRINUSE',
errno: -4091,
syscall: 'listen',
address: '::',
port: 3000
}
npm ERR! code 1
npm ERR! path C:\Users\min99\Documents\boiler-plate
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c "node index.js"
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\min99\AppData\Local\npm-cache\_logs\2021-03-07T15_59_57_703Z-debug.log
PS C:\Users\min99\Documents\boiler-plate>
이러한 에러가 뜨는데 원인이 무엇인가요?
답변 2
1
강사님은 아니지만 도움이 될까 해서 글 남겨 봅니다!
3000번 포트가 이미 사용중이라고 하네요. 제대로 종료되지 않은 상태에서 다시 요청을 해서 그런 것 같아요.
방법1) index.js 에서 포트 번호를 3000이 아닌 다른 번호로 바꾼다.
방법2) 터미널에서 3000번 포트를 담당하는 프로세스를 종료하고 다시 실행시킨다.
깃 이메일이랑 비번이 필요하다고 하네요
0
30
1
404 에러
0
101
1
34강 인증 체크에서 element 사용 때문에 에러나시는 분들 이렇게 하심 됩니다.
0
118
1
로그인, 로그아웃, 토근 작동 안 함
0
237
0
9강 오류 어떻게 해결하나요?
0
192
1
localhost 에서 연결을 거부했습니다.
0
1921
4
포스트맨에서 true가 안떠요
0
149
1
왜 안되나요
0
128
1
몽고db 연결 오류가 납니다 위에껀 입력한 코드, 아래껀 터미널이에요
0
242
1
로그아웃 401 에러(Unauthorized)
0
501
2
암호가 해싱되지 않고 입력값 그대로 db에 저장되는 문제
0
147
1
7강중에서
0
162
2
User.findByToken is not a function
0
210
1
루트 디렉토리
0
268
1
useState
0
559
1
프록시 잘 설정했는데도 404 오류 뜨는 분들
5
874
6
webpack 관련 에러 질문
0
218
1
리액트 관련 질문
0
271
1
14강 로그아웃 안됨
0
315
1
mongoDB 데이터 확인하는 법
0
407
1
postman 에러
0
289
1
선생님 리덕스를 사용하면 어떠한 부분이 좋은지 알 수 있을까요?
0
231
1
다음과 같은 에러들이 발생합니다.
0
268
1
14강 로그아웃 기능 구현시 postman에서 Cannot POST 오류가 뜹니다.
0
376
1





