Running on Windows 10. The app crashes right our of the box, and it reports that it’s choking on a malformed URI. I tried to run app in step-through debugger, but it never reaches the index.js file in ./src. Hmmm. Stack trace below.
[nodemon] 1.17.5
[nodemon] to restart at any time, enter rs
[nodemon] watching: .
[nodemon] starting node ./index.js
MongoParseError: URI malformed, cannot be parsed
at parseConnectionString (C:…\node_modules\mongodb-core\lib\uri_parser.js:211:21)
at connect (C:…\node_modules\mongodb\lib\operations\mongo_client_ops.js:180:3)
at connectOp (C:…\node_modules\mongodb\lib\operations\mongo_client_ops.js:284:3)
at C:…\node_modules\mongodb\lib\utils.js:437:24
at new Promise ()
at executeOperation (C:…\node_modules\mongodb\lib\utils.js:432:10)
at MongoClient.connect (C:…\node_modules\mongodb\lib\mongo_client.js:168:10)
at Function.MongoClient.connect (C:…\node_modules\mongodb\lib\mongo_client.js:372:22)
at Object. (C:/…/src/index.js:23:13)
at Module._compile (internal/modules/cjs/loader.js:689:30)
[nodemon] app crashed - waiting for file changes before starting…URI malformed, cannot be parsed at parse ConnectionString (C:…\node_modules\mongodb-core\lib\uri_parser.js:211:21)