The phantomjs command was not found
scorpjio opened this issue · 0 comments
scorpjio commented
In vendor/gears/pdf/src/Pdf/Html/Backend.php
We have this code:
if (is_dir(DIR.'/../../../vendor'))
{
$bin = DIR.'/../../../vendor/bin/phantomjs';
}
else
{
$bin = DIR.'/../../../../bin/phantomjs';
}
I think we need to go out one more directory to get into the right place, like this
if (is_dir(DIR.'/../../../../vendor'))
{
$bin = DIR.'/../../../../vendor/bin/phantomjs';
}
else
{
$bin = DIR.'/../../../../../bin/phantomjs';
}