몽고DB 연결이 안됩니다ㅠㅠㅠㅠ
284
작성한 질문수 3
> boiler-plate@1.0.0 start C:\Users\rwlee\Documents\boiler-plate
> node index.js
Example app listening at http://localhost:5000
(node:27640) UnhandledPromiseRejectionWarning: MongoError: bad auth : Authentication failed.
at MessageStream.messageHandler (C:\Users\rwlee\Documents\boiler-plate\node_modules\mongodb\lib\cmap\connection.js:268:20) at MessageStream.emit (events.js:315:20)
at processIncomingData (C:\Users\rwlee\Documents\boiler-plate\node_modules\mongodb\lib\cmap\message_stream.js:144:12)
at MessageStream._write (C:\Users\rwlee\Documents\boiler-plate\node_modules\mongodb\lib\cmap\message_stream.js:42:5)
at writeOrBuffer (internal/streams/writable.js:358:12)
at MessageStream.Writable.write (internal/streams/writable.js:303:10)
at TLSSocket.ondata (internal/streams/readable.js:719:22)
at TLSSocket.emit (events.js:315:20)
at addChunk (internal/streams/readable.js:309:12)
at readableAddChunk (internal/streams/readable.js:284:9)
at TLSSocket.Readable.push (internal/streams/readable.js:223:10)
at TLSWrap.onStreamRead (internal/stream_base_commons.js:188:23)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:27640) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:27640) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
이런 에러가 뜨는데 어떻게 해야 할까요?ㅠㅠ
답변 1
깃 이메일이랑 비번이 필요하다고 하네요
0
28
1
404 에러
0
101
1
34강 인증 체크에서 element 사용 때문에 에러나시는 분들 이렇게 하심 됩니다.
0
117
1
로그인, 로그아웃, 토근 작동 안 함
0
236
0
9강 오류 어떻게 해결하나요?
0
192
1
localhost 에서 연결을 거부했습니다.
0
1921
4
포스트맨에서 true가 안떠요
0
148
1
왜 안되나요
0
127
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
270
1
14강 로그아웃 안됨
0
315
1
mongoDB 데이터 확인하는 법
0
407
1
postman 에러
0
286
1
선생님 리덕스를 사용하면 어떠한 부분이 좋은지 알 수 있을까요?
0
229
1
다음과 같은 에러들이 발생합니다.
0
266
1
14강 로그아웃 기능 구현시 postman에서 Cannot POST 오류가 뜹니다.
0
374
1





