Ask coding questions

← Back to all posts
Unable to name a file .env
piphi (6)

When I try to make a .env file repl gives me an error.

Answered by TsunamiOrSumth (545) [earned 5 cycles]
View Answer
piphi (6)
TsunamiOrSumth (545)

delete the file and make a new one named env, make sure to copy-paste the contents

piphi (6)

oops, turns out you have to call it .env from the start, you can't rename it to that.

Coder100 (18903)

yeah nope, you can't, it appears to be autogenerated @piphi

Coder100 (18903)

when that happens, you should just fork the repl @piphi