<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Error - Unable to render template.  spawn UNKNOWN]]></title><description><![CDATA[<p>Hey hello,<br />
<a class="plugin-mentions-a" href="https://forum.jsreport.net/uid/2">@jan_blaha</a></p>
<p>We get this error while rendering the report: &quot;<strong>Unable to render template.  spawn UNKNOWN</strong>&quot;,<br />
I don't understand how to resolve it, can you suggest some solutions? on this.</p>
<p>This are console logs:</p>
<p>2023-06-07T14:29:26.770Z - info: Render request 1 queued for execution and waiting for available worker rootId=rfgnjez915tb1a2, id=rfgnjez915tb1a2<br />
2023-06-07T14:29:26.855Z - info: Starting rendering request 1 rootId=rfgnjez915tb1a2, id=rfgnjez915tb1a2<br />
2023-06-07T14:29:26.856Z - info: Rendering template { name: returnTemplate, recipe: chrome-pdf, engine: handlebars, preview: false } rootId=rfgnjez915tb1a2, id=rfgnjez915tb1a2<br />
2023-06-07T14:29:26.857Z - debug: Inline data specified. rootId=rfgnjez915tb1a2, id=rfgnjez915tb1a2<br />
2023-06-07T14:29:26.857Z - debug: Base url not specified, skipping its injection. rootId=rfgnjez915tb1a2, id=rfgnjez915tb1a2<br />
2023-06-07T14:29:26.936Z - debug: Replaced assets [&quot;returnTemplate-style.css&quot;] rootId=rfgnjez915tb1a2, id=rfgnjez915tb1a2<br />
2023-06-07T14:29:26.936Z - debug: Rendering engine handlebars rootId=rfgnjez915tb1a2, id=rfgnjez915tb1a2<br />
2023-06-07T14:29:28.624Z - debug: Executing recipe chrome-pdf rootId=rfgnjez915tb1a2, id=rfgnjez915tb1a2<br />
2023-06-07T14:29:28.668Z - error: <strong><em>Error when processing render request 1<br />
(because) spawn UNKNOWN<br />
Error: spawn UNKNOWN</em></strong><br />
at ChildProcess.spawn (node:internal/child_process:412:11)<br />
at Object.spawn (node:child_process:698:9)<br />
at Object.spawn (pkg/prelude/bootstrap.js:1963:27)<br />
at BrowserRunner.start (C:\snapshot\jsreport\node_modules\puppeteer\lib\cjs\puppeteer\node\BrowserRunner.js:119:34)<br />
at ChromeLauncher.launch (C:\snapshot\jsreport\node_modules\puppeteer\lib\cjs\puppeteer\node\ChromeLauncher.js:76:16)<br />
at async createBrowser (C:\snapshot\jsreport\packages\jsreport-chrome-pdf\lib\chromePoolStrategy.js:98:26)<br />
at async allocateBrowser (C:\snapshot\jsreport\packages\jsreport-chrome-pdf\lib\chromePoolStrategy.js:113:5)<br />
at async getBrowser (C:\snapshot\jsreport\packages\jsreport-chrome-pdf\lib\chromePoolStrategy.js:23:30)<br />
at async C:\snapshot\jsreport\packages\jsreport-chrome-pdf\lib\conversion.js:11:19<br />
at async execute (C:\snapshot\jsreport\packages\jsreport-chrome-pdf\lib\chromePoolStrategy.js:20:22) rootId=rfgnjez915tb1a2, id=rfgnjez915tb1a2<br />
2023-06-07T14:29:28.669Z - error: Rendering request 1 finished with error in 1903 ms rootId=rfgnjez915tb1a2, id=rfgnjez915tb1a2<br />
2023-06-07T14:29:28.677Z - error: Error during processing request at <a href="http://localhost:5488/api/report" rel="nofollow">http://localhost:5488/api/report</a></p>
]]></description><link>https://forum.jsreport.net/topic/2820/error-unable-to-render-template-spawn-unknown</link><generator>RSS for Node</generator><lastBuildDate>Wed, 16 Sep 2026 15:54:46 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/2820.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Jun 2023 14:39:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error - Unable to render template.  spawn UNKNOWN on Invalid Date]]></title><description><![CDATA[<p>Hey hello,<br />
<a class="plugin-mentions-a" href="https://forum.jsreport.net/uid/2">@jan_blaha</a></p>
<p>We get this error while rendering the report: &quot;<strong>Unable to render template.  spawn UNKNOWN</strong>&quot;,<br />
I don't understand how to resolve it, can you suggest some solutions? on this.</p>
<p>This are console logs:</p>
<p>2023-06-07T14:29:26.770Z - info: Render request 1 queued for execution and waiting for available worker rootId=rfgnjez915tb1a2, id=rfgnjez915tb1a2<br />
2023-06-07T14:29:26.855Z - info: Starting rendering request 1 rootId=rfgnjez915tb1a2, id=rfgnjez915tb1a2<br />
2023-06-07T14:29:26.856Z - info: Rendering template { name: returnTemplate, recipe: chrome-pdf, engine: handlebars, preview: false } rootId=rfgnjez915tb1a2, id=rfgnjez915tb1a2<br />
2023-06-07T14:29:26.857Z - debug: Inline data specified. rootId=rfgnjez915tb1a2, id=rfgnjez915tb1a2<br />
2023-06-07T14:29:26.857Z - debug: Base url not specified, skipping its injection. rootId=rfgnjez915tb1a2, id=rfgnjez915tb1a2<br />
2023-06-07T14:29:26.936Z - debug: Replaced assets [&quot;returnTemplate-style.css&quot;] rootId=rfgnjez915tb1a2, id=rfgnjez915tb1a2<br />
2023-06-07T14:29:26.936Z - debug: Rendering engine handlebars rootId=rfgnjez915tb1a2, id=rfgnjez915tb1a2<br />
2023-06-07T14:29:28.624Z - debug: Executing recipe chrome-pdf rootId=rfgnjez915tb1a2, id=rfgnjez915tb1a2<br />
2023-06-07T14:29:28.668Z - error: <strong><em>Error when processing render request 1<br />
(because) spawn UNKNOWN<br />
Error: spawn UNKNOWN</em></strong><br />
at ChildProcess.spawn (node:internal/child_process:412:11)<br />
at Object.spawn (node:child_process:698:9)<br />
at Object.spawn (pkg/prelude/bootstrap.js:1963:27)<br />
at BrowserRunner.start (C:\snapshot\jsreport\node_modules\puppeteer\lib\cjs\puppeteer\node\BrowserRunner.js:119:34)<br />
at ChromeLauncher.launch (C:\snapshot\jsreport\node_modules\puppeteer\lib\cjs\puppeteer\node\ChromeLauncher.js:76:16)<br />
at async createBrowser (C:\snapshot\jsreport\packages\jsreport-chrome-pdf\lib\chromePoolStrategy.js:98:26)<br />
at async allocateBrowser (C:\snapshot\jsreport\packages\jsreport-chrome-pdf\lib\chromePoolStrategy.js:113:5)<br />
at async getBrowser (C:\snapshot\jsreport\packages\jsreport-chrome-pdf\lib\chromePoolStrategy.js:23:30)<br />
at async C:\snapshot\jsreport\packages\jsreport-chrome-pdf\lib\conversion.js:11:19<br />
at async execute (C:\snapshot\jsreport\packages\jsreport-chrome-pdf\lib\chromePoolStrategy.js:20:22) rootId=rfgnjez915tb1a2, id=rfgnjez915tb1a2<br />
2023-06-07T14:29:28.669Z - error: Rendering request 1 finished with error in 1903 ms rootId=rfgnjez915tb1a2, id=rfgnjez915tb1a2<br />
2023-06-07T14:29:28.677Z - error: Error during processing request at <a href="http://localhost:5488/api/report" rel="nofollow">http://localhost:5488/api/report</a></p>
]]></description><link>https://forum.jsreport.net/post/12192</link><guid isPermaLink="true">https://forum.jsreport.net/post/12192</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error - Unable to render template.  spawn UNKNOWN on Invalid Date]]></title><description><![CDATA[<p>It seems you use <code>jsreport.exe</code> binary and it can't run chrome.exe for some unknown reason.<br />
The <code>chrome.exe</code> is extracted to the user temp during the first run.</p>
<p>Please try to remove the <code>[user temp folder]/jsreport</code> and try it again.<br />
Typically its here <code>c:\Users\[user]\AppData\Local\Temp\jsreport\</code></p>
]]></description><link>https://forum.jsreport.net/post/12195</link><guid isPermaLink="true">https://forum.jsreport.net/post/12195</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>