.env Is Deprecated

Tell us what’s happening:
I’m using Repl.t for this exercise.

When I try to make an .env file, it says that it is deprecated. How can I go around this? I would prefer not to use my local computer for this exercise.

Your project link(s)

solution: boilerplate-express-3 - Replit

Your browser information:

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

Challenge: Use the .env File

Link to the challenge:

Replit updated their UI to use a secrets tab or something similar.

There is a bunch of text there, but the challenge says

Note: If you are using Replit, you cannot create a .env file. Instead, use the built-in SECRETS tab to add the variable.

Thank you for your response. I’m not sure where this SECRETS tab is?

Should be one of the options on the left.

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