Heroku local [WARN] No ENV file found when using C

2019-08-29 15:18发布

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

1条回答
Emotional °昔
2楼-- · 2019-08-29 15:45

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.

查看更多
登录 后发表回答