What happened?
{
"message": "The command \"node \"C:\\Dev\\row-bloom-app\\vendor\\spatie\\browsershot\\src/../bin/browser.cjs\" \"{\"\"url\"\":\"\"file:\/\/C:\\\\Users\\\\ilies\\\\AppData\\\\Local\\\\Temp\\\\2083680388-0911245001691514906\\\\index.html\"\",\"\"action\"\":\"\"pdf\"\",\"\"options\"\":{\"\"args\"\":[],\"\"viewport\"\":{\"\"width\"\":800,\"\"height\"\":600},\"\"displayHeaderFooter\"\":true,\"\"width\"\":\"\"210mm\"\",\"\"height\"\":\"\"297mm\"\",\"\"landscape\"\":false,\"\"margin\"\":{\"\"top\"\":\"\"25.4mm\"\",\"\"right\"\":\"\"25.4mm\"\",\"\"bottom\"\":\"\"25.4mm\"\",\"\"left\"\":\"\"25.4mm\"\"},\"\"headerTemplate\"\":\"\"\"\",\"\"footerTemplate\"\":\"\"\"\",\"\"printBackground\"\":true,\"\"scale\"\":1}}\"\" failed.\n\nExit Code: 1(General error)\n\nWorking directory: C:\\Dev\\row-bloom-app\\public\n\nOutput:\n================\n\n\nError Output:\n================\n'node' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n",
"exception": "Symfony\\Component\\Process\\Exception\\ProcessFailedException",
"file": "C:\\Dev\\row-bloom-app\\vendor\\spatie\\browsershot\\src\\Browsershot.php",
"line": 953,
"trace": [
{
"file": "C:\\Dev\\row-bloom-app\\vendor\\spatie\\browsershot\\src\\Browsershot.php",
"line": 658,
"function": "callBrowser",
"class": "Spatie\\Browsershot\\Browsershot",
"type": "->"
},
{
"file": "C:\\Dev\\row-bloom-app\\vendor\\elaborate-code\\row-bloom\\src\\Renderers\\BrowsershotRenderer.php",
"line": 60,
"function": "base64pdf",
"class": "Spatie\\Browsershot\\Browsershot",
"type": "->"
},
{
"file": "C:\\Dev\\row-bloom-app\\vendor\\elaborate-code\\row-bloom\\src\\RowBloom.php",
"line": 58,
"function": "render",
"class": "ElaborateCode\\RowBloom\\Renderers\\BrowsershotRenderer",
"type": "->"
},
{
"file": "C:\\Dev\\row-bloom-app\\vendor\\elaborate-code\\row-bloom\\src\\RowBloom.php",
"line": 44,
"function": "render",
"class": "ElaborateCode\\RowBloom\\RowBloom",
"type": "->"
},
{
"file": "C:\\Dev\\row-bloom-app\\app\\Http\\Controllers\\RenderController.php",
"line": 46,
"function": "get",
"class": "ElaborateCode\\RowBloom\\RowBloom",
"type": "->"
},
{"...": "..."}
]
}
How to reproduce the bug
Use the package in Laravel
Package Version
0.2.0-beta
PHP Version
8.1.7
Laravel Version
10.18
Which operating systems does with happen with?
Windows
What happened?
{ "message": "The command \"node \"C:\\Dev\\row-bloom-app\\vendor\\spatie\\browsershot\\src/../bin/browser.cjs\" \"{\"\"url\"\":\"\"file:\/\/C:\\\\Users\\\\ilies\\\\AppData\\\\Local\\\\Temp\\\\2083680388-0911245001691514906\\\\index.html\"\",\"\"action\"\":\"\"pdf\"\",\"\"options\"\":{\"\"args\"\":[],\"\"viewport\"\":{\"\"width\"\":800,\"\"height\"\":600},\"\"displayHeaderFooter\"\":true,\"\"width\"\":\"\"210mm\"\",\"\"height\"\":\"\"297mm\"\",\"\"landscape\"\":false,\"\"margin\"\":{\"\"top\"\":\"\"25.4mm\"\",\"\"right\"\":\"\"25.4mm\"\",\"\"bottom\"\":\"\"25.4mm\"\",\"\"left\"\":\"\"25.4mm\"\"},\"\"headerTemplate\"\":\"\"\"\",\"\"footerTemplate\"\":\"\"\"\",\"\"printBackground\"\":true,\"\"scale\"\":1}}\"\" failed.\n\nExit Code: 1(General error)\n\nWorking directory: C:\\Dev\\row-bloom-app\\public\n\nOutput:\n================\n\n\nError Output:\n================\n'node' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n", "exception": "Symfony\\Component\\Process\\Exception\\ProcessFailedException", "file": "C:\\Dev\\row-bloom-app\\vendor\\spatie\\browsershot\\src\\Browsershot.php", "line": 953, "trace": [ { "file": "C:\\Dev\\row-bloom-app\\vendor\\spatie\\browsershot\\src\\Browsershot.php", "line": 658, "function": "callBrowser", "class": "Spatie\\Browsershot\\Browsershot", "type": "->" }, { "file": "C:\\Dev\\row-bloom-app\\vendor\\elaborate-code\\row-bloom\\src\\Renderers\\BrowsershotRenderer.php", "line": 60, "function": "base64pdf", "class": "Spatie\\Browsershot\\Browsershot", "type": "->" }, { "file": "C:\\Dev\\row-bloom-app\\vendor\\elaborate-code\\row-bloom\\src\\RowBloom.php", "line": 58, "function": "render", "class": "ElaborateCode\\RowBloom\\Renderers\\BrowsershotRenderer", "type": "->" }, { "file": "C:\\Dev\\row-bloom-app\\vendor\\elaborate-code\\row-bloom\\src\\RowBloom.php", "line": 44, "function": "render", "class": "ElaborateCode\\RowBloom\\RowBloom", "type": "->" }, { "file": "C:\\Dev\\row-bloom-app\\app\\Http\\Controllers\\RenderController.php", "line": 46, "function": "get", "class": "ElaborateCode\\RowBloom\\RowBloom", "type": "->" }, {"...": "..."} ] }How to reproduce the bug
Use the package in Laravel
Package Version
0.2.0-beta
PHP Version
8.1.7
Laravel Version
10.18
Which operating systems does with happen with?
Windows