0

I'm using Config library to mange my environments, so i do not have .env file, how to make heroku ignore this fact ?.

It work fine when i deploy to Heroku, but fails locally. I tried:

heroku local web which fires npm run build && node dist/Server // [WARN] No ENV file found

Sunny
  • 543
  • 10
  • 17

1 Answers1

0

The only way to make Heroku remove this warning is to create a .env file.
This warning shouldn't be problematic in itself though, as it shouldn't prevent your app from running.

Damien MATHIEU
  • 31,924
  • 13
  • 86
  • 94