Ask coding questions

← Back to all posts
Why is my .env not recognized?
Stanhil

When I have to create an .env file my replit doesn't recognize it, why?

Answered by xfinnbar [earned 5 cycles]
View Answer
Voters
Stanhil
Comments
hotnewtop
xfinnbar

Instead of using .env, click the padlock on the sidebar, it does the same thing.

ch1ck3n

I think it's a really bad idea to block .env files. You just gotta use the lock on the side