Alex
Alex

Reputation: 38539

ENOENT error using nodejs on heroku

I'm getting an ENOENT error on my heroku app, preventing it from starting up:

Error: ENOENT, open '/app/log/production.log'

This file / dir (app/log) does exist however... So I'm not sure what's going on?

Upvotes: 0

Views: 1471

Answers (1)

Alex
Alex

Reputation: 38539

I ended up disabling 'quiet' mode to stop writing logs to disk:

app.disable('quiet');

This seems to of resolved it

Upvotes: 1

Related Questions