작성
·
215
0
Example app listening on port 5000!
MongoParseError: URI does not have hostname, domain name and tld
at parseSrvConnectionString (/Users/ynsn/Documents/boiler-plate/node_modules/mongodb/lib/core/uri_parser.js:51:21)
at parseConnectionString (/Users/ynsn/Documents/boiler-plate/node_modules/mongodb/lib/core/uri_parser.js:595:12)
at connect (/Users/ynsn/Documents/boiler-plate/node_modules/mongodb/lib/operations/connect.js:281:3)
at /Users/ynsn/Documents/boiler-plate/node_modules/mongodb/lib/mongo_client.js:256:5
at maybePromise (/Users/ynsn/Documents/boiler-plate/node_modules/mongodb/lib/utils.js:685:3)
at MongoClient.connect (/Users/ynsn/Documents/boiler-plate/node_modules/mongodb/lib/mongo_client.js:252:10)
at /Users/ynsn/Documents/boiler-plate/node_modules/mongoose/lib/connection.js:835:12
at new Promise (<anonymous>)
at NativeConnection.Connection.openUri (/Users/ynsn/Documents/boiler-plate/node_modules/mongoose/lib/connection.js:832:19)
at /Users/ynsn/Documents/boiler-plate/node_modules/mongoose/lib/index.js:350:10
at /Users/ynsn/Documents/boiler-plate/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
at new Promise (<anonymous>)
at promiseOrCallback (/Users/ynsn/Documents/boiler-plate/node_modules/mongoose/lib/helpers/promiseOrCallback.js:30:10)
at Mongoose._promiseOrCallback (/Users/ynsn/Documents/boiler-plate/node_modules/mongoose/lib/index.js:1154:10)
at Mongoose.connect (/Users/ynsn/Documents/boiler-plate/node_modules/mongoose/lib/index.js:349:20)
at Object.<anonymous> (/Users/ynsn/Documents/boiler-plate/index.js:6:10)