Ask coding questions

← Back to all posts
clone project reject env file
nanasv

I don't know where the problem is coming from, but I suggest replit should look into this.
A project build on glitch IDE, exported to github, now clone in replit IDE. already set:
.replit
language="nodejs"
run="npm start"
while setting env (padlock), in my backend i added both database (mongodb), session secret e.t.c. Both of this failed on PRODUCTION ENVIRONMENT(heroku), but when i remove the process.env.secret, and expose (string) secret everything work well. [this simply means replit is not reading env(padlock) file out side their IDE, cause on their IDE every thing is fine. Am not concluding but suggesting, don't know if am the only persons that notice this. I still want to draw my main project on replit i hope some one will find me a way out of this before hosting my website.

Voters
nanasv