Maybe the current working directory of the shell that’s used to start your heroku process doesn’t exist (maybe removed by another process, as in my case), and therefore getcwd throws an error.
Maybe the current working directory of the shell that’s used to start your heroku process doesn’t exist (maybe removed by another process, as in my case), and therefore getcwd throws an error.