ADRE9/bunk-manager-mern

Failed to find .env file at path: ./configs/dev.env

Closed this issue · 4 comments

Describe the bug
The .env file has been removed, probably due to a bad commit. It should be added for running of server

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
Server should run

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@kunaljain0212 @ADRE9 I want to work on this please assign me this

Are you facing any issue while running the app because it's working fine for me.
Moreover it's a bad practice to commit .env variables because it contains sensitive data like api_keys. Therefore I don't think the .env file has been removed due to a bad commit. It is ignored in the gitignore.

@Artistic18 In package.json under npm run dev command, ./configs/dev/.env is mentioned which does not exist in the project. I am well aware that env contains confidential information. @kunaljain0212 please assign me this