No .env file in directory

Tell us what’s happening:
I can’t find the .env file to store my uri, password, etc. Were we supposed to create this file and I missed that step? Where should the file go in the directory if we should create it?

Your code so far
I have passed the other tests, but I don’t see the .env file in the directory so I can’t edit variables inside of it.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36.

Challenge: Install and Set Up Mongoose

Link to the challenge:

Hello and welcome to the freeCodeCamp community~!

The .env file goes into the root directory of the project. This is what your file structure should look like:

1 Like

Thank you. So I guess we are supposed to create it ourselves. No problem but I think this could be explicitly stated as a necessary step.

1 Like