일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 다중 서버 명령
- node
- Git
- react-native
- pbkdf2-password
- PBKDF2
- centos
- event-driven
- Java
- Mongoose
- Express
- proguard
- rest-assured
- multidex
- Mongo
- Linux
- Android
- memory structure
- Modulization
- Setup
- window
- API테스트
- elemMatch
- iIntelliJ
- instance
- OOP
- MEAN stack
- 64k method
- MaridDB
- ssh key
Archives
- Today
- Total
목록warning (1)
천줄코딩도 한 걸음부터
Mongoose로 Node.js와 연결 시 DeprecationWarning
// mongodb setup var mongoose = require('mongoose'); mongoose.connect('mongodb://localhost/mydb'); var db = mongoose.connection; db.on('error', console.error.bind(console, 'connection error:')); db.once('open', function() { // we're connected! console.log('connected successfully'); }); 다음과 같은 Warning이 발생함(node:1876) DeprecationWarning: `open()` is deprecated in mongoose >= 4.11.0, use `openUri()..
Others
2017. 7. 6. 16:54