Open novia713 opened 6 years ago
@jmolivas well, seems we are already using Path::getHomeDirectory();
in the place that the error appears.
Seems that path-util
doesn't guess the home directory if the HOME
environment variable is not present.
So, in regarding this, i attached a PR (https://github.com/webmozart/path-util/issues/24) into that project.
Hopefully, we can solve this problem when the PR were merged into path-util
It's actually in Drupal 9. Using cron in server will emit error if not added HOME environment. Reading this issue and adding manually fix issue. Pleas, add patch to check if exist and if not then use --root variable or emit proper information
This is the error it throws when it can't find HOME environment variable
[coming from https://github.com/hechoendrupal/drupal-console/issues/3612]