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

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. #1

Open
ilsochrist opened this issue Jul 8, 2022 · 5 comments

Comments

@ilsochrist
Copy link

image

@ilsochrist
Copy link
Author

ilsochrist commented Jul 8, 2022

Where are the env file? think thats why broked your code

@agbts
Copy link

agbts commented Jul 11, 2022

Hi! need .env file to move to the common directory of the project,
after that, you will be able to see load .env file immediately after the "npm run dev" command

image

@ilsochrist
Copy link
Author

yeah! i dont saw this env file in repository of github. Can you say to me where is?

@gagnol
Copy link

gagnol commented Jul 13, 2022

here! env. files never share at github ...you have to create your own credentials ... eg. mongo database , access token , etc

@Junnygram
Copy link

hello i also have this issue , how can it be solved

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

4 participants