When my app runs (or when I run from commandline) the wkhtmltopdf command I get the following error: (showing it from command line)
#> wkhtmltopdf wkhtmltopd
sudo apt-get install xvfb
to install the dependency package.
Update the node-modules wkhtmltopdf index.js
wkhtmltopdf.command = 'wkhtmltopdf'; to 'wkhtmltopdf.command = 'xvfb-run wkhtmltopdf';'