작성
·
234
0
(node:12096) Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
Example app listening at http://localhost:7000
MongoParseError: URI does not have hostname, domain name and tld
at parseSrvConnectionString (C:\Users\mario\Documents\boiler-plate\node_modules\mongodb\lib\core\uri_parser.js:50:21)
at parseConnectionString (C:\Users\mario\Documents\boiler-plate\node_modules\mongodb\lib\core\uri_parser.js:594:12)
at connect (C:\Users\mario\Documents\boiler-plate\node_modules\mongodb\lib\operations\connect.js:284:3)
at C:\Users\mario\Documents\boiler-plate\node_modules\mongodb\lib\mongo_client.js:225:5
at maybePromise (C:\Users\mario\Documents\boiler-plate\node_modules\mongodb\lib\utils.js:681:3)
at MongoClient.connect (C:\Users\mario\Documents\boiler-plate\node_modules\mongodb\lib\mongo_client.js:221:10)
at C:\Users\mario\Documents\boiler-plate\node_modules\mongoose\lib\connection.js:833:12
at new Promise (<anonymous>)
at NativeConnection.Connection.openUri (C:\Users\mario\Documents\boiler-plate\node_modules\mongoose\lib\connection.js:830:19)
at C:\Users\mario\Documents\boiler-plate\node_modules\mongoose\lib\index.js:345:10
at C:\Users\mario\Documents\boiler-plate\node_modules\mongoose\lib\helpers\promiseOrCallback.js:31:5
at new Promise (<anonymous>)
at promiseOrCallback (C:\Users\mario\Documents\boiler-plate\node_modules\mongoose\lib\helpers\promiseOrCallback.js:30:10)
at Mongoose._promiseOrCallback (C:\Users\mario\Documents\boiler-plate\node_modules\mongoose\lib\index.js:1135:10)
at Mongoose.connect (C:\Users\mario\Documents\boiler-plate\node_modules\mongoose\lib\index.js:344:20)
at Object.<anonymous> (C:\Users\mario\Documents\boiler-plate\index.js:7:10)
이런 에러가 발생하는데 어떤분이 ip주소 경로를 설정하시는거 올린거보고 따라했는데도 이런 에러가 계속 반복됩니다.... 해결해서 다음강의로 진행하고싶습니다 ㅠㅠㅠ
답변 6
1
노트 정리를 참고 해 보세요 http://skilnote-for-react.co.kr/skilnote1/myshortcut/node-react-boiler-plate/2
0
0
0
0
0