Basic Node and Express - Use the .env File (Unable to create .env file in Replit)

When I create .env file it says “A file or folder with tha name already exists.”
Once, it the propmpt was that the .env files are depriciated you can use Secret.

Here’s the Replit link:

Yes, you should not be using a .env file on Replit:

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

There’s a lot of text in the Challenge, but its important!

1 Like

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