Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- node:11128) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'split' of null
- at parseSrvConnectionString (C:\Users\manoj shukla\Desktop\js\bookstore\node_modules\mongodb\lib\core\uri_parser.js:40:23)
- at parseConnectionString (C:\Users\manoj shukla\Desktop\js\bookstore\node_modules\mongodb\lib\core\uri_parser.js:516:12)
- at connect (C:\Users\manoj shukla\Desktop\js\bookstore\node_modules\mongodb\lib\operations\connect.js:268:3)
- at ConnectOperation.execute (C:\Users\manoj shukla\Desktop\js\bookstore\node_modules\mongodb\lib\operations\connect.js:191:5)
- at executeOperation (C:\Users\manoj shukla\Desktop\js\bookstore\node_modules\mongodb\lib\operations\execute_operation.js:83:26)
- at MongoClient.connect (C:\Users\manoj shukla\Desktop\js\bookstore\node_modules\mongodb\lib\mongo_client.js:216:10)
- at Promise (C:\Users\manoj shukla\Desktop\js\bookstore\node_modules\mongoose\lib\connection.js:632:12)
- at new Promise (<anonymous>)
- at NativeConnection.Connection.openUri (C:\Users\manoj shukla\Desktop\js\bookstore\node_modules\mongoose\lib\connection.js:629:19)
- at Mongoose.connect (C:\Users\manoj shukla\Desktop\js\bookstore\node_modules\mongoose\lib\index.js:328:15)
- at Object.<anonymous> (C:\Users\manoj shukla\Desktop\js\bookstore\app.js:19:10)
- at Module._compile (internal/modules/cjs/loader.js:778:30)
- at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
- at Module.load (internal/modules/cjs/loader.js:653:32)
- at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
- at Function.Module._load (internal/modules/cjs/loader.js:585:3)
- (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)
- (node:11128) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate th
- the Node.js process with a non-zero exit code.
Add Comment
Please, Sign In to add comment