Guest User

Untitled

a guest
Nov 12th, 2019
94
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. node:11128) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'split' of null
  2. at parseSrvConnectionString (C:\Users\manoj shukla\Desktop\js\bookstore\node_modules\mongodb\lib\core\uri_parser.js:40:23)
  3. at parseConnectionString (C:\Users\manoj shukla\Desktop\js\bookstore\node_modules\mongodb\lib\core\uri_parser.js:516:12)
  4. at connect (C:\Users\manoj shukla\Desktop\js\bookstore\node_modules\mongodb\lib\operations\connect.js:268:3)
  5. at ConnectOperation.execute (C:\Users\manoj shukla\Desktop\js\bookstore\node_modules\mongodb\lib\operations\connect.js:191:5)
  6. at executeOperation (C:\Users\manoj shukla\Desktop\js\bookstore\node_modules\mongodb\lib\operations\execute_operation.js:83:26)
  7. at MongoClient.connect (C:\Users\manoj shukla\Desktop\js\bookstore\node_modules\mongodb\lib\mongo_client.js:216:10)
  8. at Promise (C:\Users\manoj shukla\Desktop\js\bookstore\node_modules\mongoose\lib\connection.js:632:12)
  9. at new Promise (<anonymous>)
  10. at NativeConnection.Connection.openUri (C:\Users\manoj shukla\Desktop\js\bookstore\node_modules\mongoose\lib\connection.js:629:19)
  11. at Mongoose.connect (C:\Users\manoj shukla\Desktop\js\bookstore\node_modules\mongoose\lib\index.js:328:15)
  12. at Object.<anonymous> (C:\Users\manoj shukla\Desktop\js\bookstore\app.js:19:10)
  13. at Module._compile (internal/modules/cjs/loader.js:778:30)
  14. at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
  15. at Module.load (internal/modules/cjs/loader.js:653:32)
  16. at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
  17. at Function.Module._load (internal/modules/cjs/loader.js:585:3)
  18. (node:11128) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catchch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
  19. (node:11128) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate th
  20. the Node.js process with a non-zero exit code.
RAW Paste Data