Not sure how to access .env file within a repl.it app

Tell us what’s happening:
I’ve been attempting this challenge but made 0 progress as I have no idea how to edit the process.env file to store the variable it wants me to. I don’t see it on the left hand side as a file I can access to write it manually, and I also don’t know if i have to use some sort of app.METHOD to write to it within myApp.js. Even if i randomly tried things and eventually did the right thing, i’d have zero clue because the second part of this problem I’m equally lost on (but figured id go one problem at a time).

Your code so far
https://repl.it/talk/share/Boilerplate-FCC-App/115860

Your browser information:

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

Challenge: Use the .env File

Link to the challenge:

Not sure what your course guidelines are telling you to do but you could try going to the “Shell” tab then create the env file with the command:

touch .env
1 Like

Yeah the course seems to not really specify to make the file, that makes a lot of sense thank you

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.