<?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[Crashing on windows with jsreport-fs-store unhandled promise rejection errors]]></title><description><![CDATA[<p>Hey all,</p>
<p>I upgraded my jsreport server to the new version. But when I start up the app I get these errors on windows. Any idea whats going on?? Funny thing is, it seems to run just fine on ubuntu, but on windows it crashes every time.</p>
<p>I'm using the suggested config for fs-store</p>
<pre><code>{
...
  &quot;store&quot;: {
    &quot;provider&quot;: &quot;fs&quot;
  },
&quot;extensions&quot;: {
    &quot;fs-store&quot;: {
      &quot;dataDirectory&quot;: &quot;data&quot;,
      &quot;syncModifications&quot;: false
    }
...
}
</code></pre>
<pre><code>2018-06-26T22:19:50.937Z - error: Error occured during reporter init SyntaxError: Unexpected end of JSON input
    at JSON.parse (&lt;anonymous&gt;)
    at parse (C:\Users\------\exa-jsreport\node_modules\jsreport-fs-store\lib\customUtils.js:78:15)
    at Array.map (&lt;anonymous&gt;)
    at loadFlatDocument (C:\Users\-----\exa-jsreport\node_modules\jsreport-fs-store\lib\persistence.js:153:58)
    at &lt;anonymous&gt;
SyntaxError: Unexpected end of JSON input
    at JSON.parse (&lt;anonymous&gt;)
    at parse (C:\Users\--------\exa-jsreport\node_modules\jsreport-fs-store\lib\customUtils.js:78:15)
    at Array.map (&lt;anonymous&gt;)
    at loadFlatDocument (C:\Users\-------\exa-jsreport\node_modules\jsreport-fs-store\lib\persistence.js:153:58)
    at &lt;anonymous&gt;
(node:17100) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected end of JSON input
    at JSON.parse (&lt;anonymous&gt;)
    at parse (C:\Users\------\exa-jsreport\node_modules\jsreport-fs-store\lib\customUtils.js:78:15)
    at Array.map (&lt;anonymous&gt;)
    at loadFlatDocument (C:\Users\------\exa-jsreport\node_modules\jsreport-fs-store\lib\persistence.js:153:58)
    at &lt;anonymous&gt;
(node:17100) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async
function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:17100) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
</code></pre>
]]></description><link>https://forum.jsreport.net/topic/590/crashing-on-windows-with-jsreport-fs-store-unhandled-promise-rejection-errors</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 15:41:20 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/590.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 26 Jun 2018 22:29:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Crashing on windows with jsreport-fs-store unhandled promise rejection errors on Tue, 26 Jun 2018 23:02:35 GMT]]></title><description><![CDATA[<p>Hey all,</p>
<p>I upgraded my jsreport server to the new version. But when I start up the app I get these errors on windows. Any idea whats going on?? Funny thing is, it seems to run just fine on ubuntu, but on windows it crashes every time.</p>
<p>I'm using the suggested config for fs-store</p>
<pre><code>{
...
  &quot;store&quot;: {
    &quot;provider&quot;: &quot;fs&quot;
  },
&quot;extensions&quot;: {
    &quot;fs-store&quot;: {
      &quot;dataDirectory&quot;: &quot;data&quot;,
      &quot;syncModifications&quot;: false
    }
...
}
</code></pre>
<pre><code>2018-06-26T22:19:50.937Z - error: Error occured during reporter init SyntaxError: Unexpected end of JSON input
    at JSON.parse (&lt;anonymous&gt;)
    at parse (C:\Users\------\exa-jsreport\node_modules\jsreport-fs-store\lib\customUtils.js:78:15)
    at Array.map (&lt;anonymous&gt;)
    at loadFlatDocument (C:\Users\-----\exa-jsreport\node_modules\jsreport-fs-store\lib\persistence.js:153:58)
    at &lt;anonymous&gt;
SyntaxError: Unexpected end of JSON input
    at JSON.parse (&lt;anonymous&gt;)
    at parse (C:\Users\--------\exa-jsreport\node_modules\jsreport-fs-store\lib\customUtils.js:78:15)
    at Array.map (&lt;anonymous&gt;)
    at loadFlatDocument (C:\Users\-------\exa-jsreport\node_modules\jsreport-fs-store\lib\persistence.js:153:58)
    at &lt;anonymous&gt;
(node:17100) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected end of JSON input
    at JSON.parse (&lt;anonymous&gt;)
    at parse (C:\Users\------\exa-jsreport\node_modules\jsreport-fs-store\lib\customUtils.js:78:15)
    at Array.map (&lt;anonymous&gt;)
    at loadFlatDocument (C:\Users\------\exa-jsreport\node_modules\jsreport-fs-store\lib\persistence.js:153:58)
    at &lt;anonymous&gt;
(node:17100) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async
function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:17100) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
</code></pre>
]]></description><link>https://forum.jsreport.net/post/2951</link><guid isPermaLink="true">https://forum.jsreport.net/post/2951</guid><dc:creator><![CDATA[Spence-S]]></dc:creator><pubDate>Tue, 26 Jun 2018 23:02:35 GMT</pubDate></item><item><title><![CDATA[Reply to Crashing on windows with jsreport-fs-store unhandled promise rejection errors on Invalid Date]]></title><description><![CDATA[<p>It seems you have corrupted file in <code>data</code> folder. It will be file directly in <code>data</code>. Likely something like <code>settings</code>.<br />
Could you check that file? Backup it, delete it and start again?</p>
]]></description><link>https://forum.jsreport.net/post/2961</link><guid isPermaLink="true">https://forum.jsreport.net/post/2961</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>