<?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[Local install of JSReport crashed - now won&#x27;t start]]></title><description><![CDATA[<p>As the title says, I have a local install that I've been experimenting with, and it's been working fine.  I was working on trying to get some external data with scripts, when my computer crashed (blue screen - Windows 10).  Once it did the disk scan and repair, I tried to load jsreport again from the command line and get this error each time.</p>
<pre><code>2018-07-18T10:46:37.907Z - info: Using extension public-templates
2018-07-18T10:46:37.918Z - debug: Extension public-templates was disabled
2018-07-18T10:46:37.927Z - info: fs store is persisting using fs
2018-07-18T10:46:37.929Z - info: fs store is synchronizing using fs
2018-07-18T10:46:38.019Z - info: fs store is loading data
2018-07-18T10:46:38.095Z - error: Error occured during reporter init SyntaxError: Unexpected token   in JSON at position 0
    at JSON.parse (&lt;anonymous&gt;)
    at parse (C:\Users\ar206747\node_modules\jsreport-fs-store\lib\customUtils.js:77:15)
    at Array.map (&lt;anonymous&gt;)
    at loadFlatDocument (C:\Users\ar206747\node_modules\jsreport-fs-store\lib\persistence.js:148:58)
    at &lt;anonymous&gt;
An error has occurred when trying to initialize jsreport (2). Unexpected token   in JSON at position 0 (1).
caused by error (2) -&gt; stack = Error:
    at instance.init.then.catch (C:\Users\ar206747\node_modules\jsreport-cli\lib\instanceHandler.js:31:29)
    at &lt;anonymous&gt;
caused by error (1) -&gt; stack = SyntaxError:
    at JSON.parse (&lt;anonymous&gt;)
    at parse (C:\Users\ar206747\node_modules\jsreport-fs-store\lib\customUtils.js:77:15)
    at Array.map (&lt;anonymous&gt;)
    at loadFlatDocument (C:\Users\ar206747\node_modules\jsreport-fs-store\lib\persistence.js:148:58)
    at &lt;anonymous&gt;
</code></pre>
<p>The odd thing is the error it's reporting about unexpected token in json at &lt;anonymous&gt; is the problem I was trying to debug in my script when the computer crashed.</p>
<p>I've tried <code>jsreport repair</code> but it hasn't fixed the problem.</p>
<p>Any ideas?</p>
]]></description><link>https://forum.jsreport.net/topic/622/local-install-of-jsreport-crashed-now-won-t-start</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Mar 2026 04:11:23 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/622.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 Jul 2018 10:53:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Local install of JSReport crashed - now won&#x27;t start on Invalid Date]]></title><description><![CDATA[<p>As the title says, I have a local install that I've been experimenting with, and it's been working fine.  I was working on trying to get some external data with scripts, when my computer crashed (blue screen - Windows 10).  Once it did the disk scan and repair, I tried to load jsreport again from the command line and get this error each time.</p>
<pre><code>2018-07-18T10:46:37.907Z - info: Using extension public-templates
2018-07-18T10:46:37.918Z - debug: Extension public-templates was disabled
2018-07-18T10:46:37.927Z - info: fs store is persisting using fs
2018-07-18T10:46:37.929Z - info: fs store is synchronizing using fs
2018-07-18T10:46:38.019Z - info: fs store is loading data
2018-07-18T10:46:38.095Z - error: Error occured during reporter init SyntaxError: Unexpected token   in JSON at position 0
    at JSON.parse (&lt;anonymous&gt;)
    at parse (C:\Users\ar206747\node_modules\jsreport-fs-store\lib\customUtils.js:77:15)
    at Array.map (&lt;anonymous&gt;)
    at loadFlatDocument (C:\Users\ar206747\node_modules\jsreport-fs-store\lib\persistence.js:148:58)
    at &lt;anonymous&gt;
An error has occurred when trying to initialize jsreport (2). Unexpected token   in JSON at position 0 (1).
caused by error (2) -&gt; stack = Error:
    at instance.init.then.catch (C:\Users\ar206747\node_modules\jsreport-cli\lib\instanceHandler.js:31:29)
    at &lt;anonymous&gt;
caused by error (1) -&gt; stack = SyntaxError:
    at JSON.parse (&lt;anonymous&gt;)
    at parse (C:\Users\ar206747\node_modules\jsreport-fs-store\lib\customUtils.js:77:15)
    at Array.map (&lt;anonymous&gt;)
    at loadFlatDocument (C:\Users\ar206747\node_modules\jsreport-fs-store\lib\persistence.js:148:58)
    at &lt;anonymous&gt;
</code></pre>
<p>The odd thing is the error it's reporting about unexpected token in json at &lt;anonymous&gt; is the problem I was trying to debug in my script when the computer crashed.</p>
<p>I've tried <code>jsreport repair</code> but it hasn't fixed the problem.</p>
<p>Any ideas?</p>
]]></description><link>https://forum.jsreport.net/post/3098</link><guid isPermaLink="true">https://forum.jsreport.net/post/3098</guid><dc:creator><![CDATA[Adam Richards]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Local install of JSReport crashed - now won&#x27;t start on Invalid Date]]></title><description><![CDATA[<p>please backup/delete file <code>data/settings</code> and start again.</p>
<p>Which version of jsreport you have please? We will need to investigate how the data became inconsistent, it should not happen.</p>
]]></description><link>https://forum.jsreport.net/post/3099</link><guid isPermaLink="true">https://forum.jsreport.net/post/3099</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Local install of JSReport crashed - now won&#x27;t start on Invalid Date]]></title><description><![CDATA[<p>I'm on 2.1.0, but I can't find that file to delete?</p>
]]></description><link>https://forum.jsreport.net/post/3100</link><guid isPermaLink="true">https://forum.jsreport.net/post/3100</guid><dc:creator><![CDATA[Adam Richards]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Local install of JSReport crashed - now won&#x27;t start on Invalid Date]]></title><description><![CDATA[<p>It should be there, please paste screen of your data folder.</p>
<p>Side note - you should create an extra folder for jsreport app. As we instruct now on the <a href="https://jsreport.net/on-prem" rel="nofollow">download page</a>. You seems to be running directly from the user folder.</p>
]]></description><link>https://forum.jsreport.net/post/3101</link><guid isPermaLink="true">https://forum.jsreport.net/post/3101</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Local install of JSReport crashed - now won&#x27;t start on Invalid Date]]></title><description><![CDATA[<p>which jsreport folder will the data folder be in?  I'm not overly familiar with the structure.</p>
]]></description><link>https://forum.jsreport.net/post/3102</link><guid isPermaLink="true">https://forum.jsreport.net/post/3102</guid><dc:creator><![CDATA[Adam Richards]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Local install of JSReport crashed - now won&#x27;t start on Invalid Date]]></title><description><![CDATA[<p>The default is<br />
jsreportappdir/data - data folder<br />
jsreportappdir/jsreport.config.json - configuration file<br />
.....</p>
]]></description><link>https://forum.jsreport.net/post/3103</link><guid isPermaLink="true">https://forum.jsreport.net/post/3103</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Local install of JSReport crashed - now won&#x27;t start on Invalid Date]]></title><description><![CDATA[<p>I'm removed it and get the same error.</p>
]]></description><link>https://forum.jsreport.net/post/3104</link><guid isPermaLink="true">https://forum.jsreport.net/post/3104</guid><dc:creator><![CDATA[Adam Richards]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Local install of JSReport crashed - now won&#x27;t start on Invalid Date]]></title><description><![CDATA[<p>There could be another file in the root of <code>data</code> folder that is causing the problem.</p>
<p>Please zip your data folder and send it to my email. Remove the secret information.<br />
Thank you.</p>
]]></description><link>https://forum.jsreport.net/post/3105</link><guid isPermaLink="true">https://forum.jsreport.net/post/3105</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>