I have debugged using this https://www.koolreport.com/forum/topics/557. Below is the command from Browser.php with the error when the command is run. I'm using nodejs -V 9.3.0
PATH=$PATH:/usr/local/bin NODE_PATH=npm root -g
node "C:\Users\JD\Documents\XAMPP\htdocs\dv2.quality\vendor\its404\php-puppeteer\src/js/puppeteer-api.js" "{ goto :{ waitUntil :[ load , domcontentloaded
, networkidle0 , networkidle2 ]}, viewport :{ width :1024, height :800}, pdf :{ format : A4 , printBackground :true, nodeBinary : C:\Program Files\nodejs\node.exe , path : C:\Users\JD\Documents\XAM
PP\htdocs\dv2.quality\vendor\koolreport\export\/tmp\/5d701d6c170283.pdf }, url : file:\/\/C:\Users\JD\Documents\XAMPP\htdocs\dv2.quality\vendor\koolreport\export\/tmp\/5d701d6c1497d2.html , n
odeBinary : C:\Program Files\nodejs\node.exe , chromeBinary :null}"
undefined:1
{ goto :{ waitUntil :[ load , domcontentloaded , networkidle0 , networkidle2 ]}, viewport :{ width :1024, height :800}, pdf :{ format : A4 , printBackground :true, nodeBinary : C:\Program Files\nodejs\node.exe , path : C:\Users\JD\Documents\XAMPP\htdocs\dv2.quality\vendor\koolreport\export\/tmp\/5d701d6c170283.pdf }, url : file:\/\/C:\Users\JD\Documents\XAMPP\htdocs\dv2.quality\vendor\koolreport\export\/tmp\/5d701d6c1497d2.html , nodeBinary : C:\Program Files\nodejs\node.exe , chromeBinary :null}
^
SyntaxError: Unexpected token g in JSON at position 2
at JSON.parse (<anonymous>)
at Object.<anonymous> (C:\Users\JD\Documents\XAMPP\htdocs\dv2.quality\vendor\its404\php-puppeteer\src\js\puppeteer-api.js:3:28)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Function.Module.runMain (module.js:701:10)
at startup (bootstrap_node.js:194:16)
at bootstrap_node.js:618:3