Closed brookr closed 4 years ago
A clear and concise description of what you are stuck on, what's blocking you, a bug, or what questions you have:
My app isn't able to start.
How can we see the problem? Steps to reproduce the behavior:
nodemon
A clear and concise description of what you expected to happen:
The server should start, connected to the database.
Is there an error? What is the exact error? What line number is it happening on? If applicable, add screenshots to help explain your problem.
Error Type: UnhandledPromiseRejectionWarning Error Message: Client has already been connected. You cannot reuse a client.
Screenshot:
What do you think the error message means?
Something is wrong with how I'm setting up the client.
What have you tried to do so far to fix this?
Triple-checked my connection string. Verified the database exists... Read through my code a few times. Asked a classmate.
What other info or context about the problem might help us understand it? OS version?
I'm on a Mac, running macOS 10.15.3.
Describe the issue
A clear and concise description of what you are stuck on, what's blocking you, a bug, or what questions you have:
My app isn't able to start.
To Reproduce
How can we see the problem? Steps to reproduce the behavior:
nodemon
Expected behavior
A clear and concise description of what you expected to happen:
The server should start, connected to the database.
Actual behavior
Is there an error? What is the exact error? What line number is it happening on? If applicable, add screenshots to help explain your problem.
Error Type: UnhandledPromiseRejectionWarning Error Message: Client has already been connected. You cannot reuse a client.
Screenshot:
Additional context
What do you think the error message means?
Something is wrong with how I'm setting up the client.
What have you tried to do so far to fix this?
Triple-checked my connection string. Verified the database exists... Read through my code a few times. Asked a classmate.
What other info or context about the problem might help us understand it? OS version?
I'm on a Mac, running macOS 10.15.3.