Skip to content
Profile icon

TheBeast941

@TheBeast941 (0)
Repls
Posts
TheBeast941
TheBeast941
shared a Post
1 year ago
1
.env files not recognised in a bash replit
I discovered this in another repl, where I would create a .env file and attempt to access variables from it in index.js and it would return "undefined
Coder100
Coder100 read this: https://docs.repl.it/repls/secret-keys also your keys can't have spaces in them test="message" try $test see what u get1 year ago
Coder100
Coder100 It's called .env not dotenv silly!1 year ago