Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Invalid connection string. #37

Open
ChiragDogra opened this issue Jan 11, 2022 · 2 comments
Open

Error: Invalid connection string. #37

ChiragDogra opened this issue Jan 11, 2022 · 2 comments

Comments

@ChiragDogra
Copy link

When I tried running the application after cloning it on my computer I'm getting this error.
Error: Invalid connection string

@ChiragDogra
Copy link
Author

No

@jitu-1571
Copy link

jitu-1571 commented Mar 8, 2023

When I tried running the application after cloning it on my computer I'm getting this error. Error: Invalid connection string

are you getting this error from mongoose, if yes, install dotenv and add const dotenv = require('dotenv'); dotenv.config() in server.js and db.js in config folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants