I forked the main branch; ran the first command npm install and it installed the necessary modules;
when I ran the next command npm start this is the error log I received in the terminal; I visited StackOverflow looking for answers to no avail.
Server started on port 3000...
D:\Github Repos\Demosignin\node_modules\mongoose\lib\connection.js:680
throw new MongooseError('The `uri` parameter to `openUri()` must be a ' +
^
MongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
at Connection.openUri (D:\Github Repos\Demosignin\node_modules\mongoose\lib\connection.js:680:11)
at D:\Github Repos\Demosignin\node_modules\mongoose\lib\index.js:345:10
at D:\Github Repos\Demosignin\node_modules\mongoose\lib\helpers\promiseOrCallback.js:31:5
/modules/cjs/loader:1174:10)
at Module.load (node:internal/modules/cjs/loader:998:32)
at Module._load (node:internal/modules/cjs/loader:839:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47
I forked the main branch; ran the first command
npm install
and it installed the necessary modules;when I ran the next command
npm start
this is the error log I received in the terminal; I visited StackOverflow looking for answers to no avail.StackOverflow question visited is here
This brought me back to square one. I need help to solve this error log. @bradtraversy @zubair-saif @DominikWronski