MongoParseError: options usecreateindex, usefindandmodify are not supported
[문제사항] const mongoose = require('mongoose') mongoose.connect('클러스터 url', { useNewUrlParser: true, useUnifiedTopology: true, useCreateIndex: true, useFindAndModify: false, }).then(() => console.log('MongoDB Connected...')).catch( err => console.log(err)) 몽구스 패키지를 설치하고 연결하고 프로젝트를 실행시켜봤는데 에러로그를 출력하면서 프로젝트 코드를 실행됩니다. > start > node app.js Example app listening on port 3000 MongoParseError: options u..
Backend/꾸준히 TIL
2022. 8. 21. 00:22
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Nest.js
- 한달독서
- node.js
- Mongoose
- OS
- 갓생살자
- Jekyll
- 클린아키텍쳐
- 바이트디그리
- typeORM
- nestjs
- vscode
- gem
- 습관개선
- 한달어스
- 미완
- MySQL
- TDD
- nestjs jest
- 스마트폰중독
- IT용어
- 나도 할 수 있다
- MongoDB
- RDBMS
- jest
- 참고
- git
- TypeScript
- 디지털디톡스
- 개발용어
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함