<?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[Unsupported module in scripts: http]]></title><description><![CDATA[<p>Hi ,<br />
I tried to use dotnet-local with the very basic default standard configuration, However getting below exception while running sample &quot;Order&quot; template</p>
<p>&quot;<em>Error occured - Error during rendering report: Unsupported module in scripts: http. To enable require on particular module, you need to update the configuration as {&quot;scripts&quot;: { &quot;allowedModules&quot;: [&quot;http&quot;] } } ... Alternatively you can also set &quot;</em>&quot; to allowedModules to enable everything Stak - Error: Unsupported module in scripts: http. To enable require on particular module, you need to update the configuration as {&quot;scripts&quot;: { &quot;allowedModules&quot;: [&quot;http&quot;] } } ... Alternatively you can also set &quot;<em>&quot; to allowedModules to enable everything &quot;</em></p>
<p><strong>Below is the configuration</strong></p>
<p>var rs = new LocalReporting()<br />
.UseBinary(JsReportBinary.GetBinary())<br />
.KillRunningJsReportProcesses()<br />
.RunInDirectory(Path.Combine(Directory.GetCurrentDirectory(), &quot;jsreport&quot;))<br />
.Configure(cfg =&gt; cfg<br />
.CreateSamples()<br />
.AllowLocalFilesAccess()<br />
.BaseUrlAsWorkingDirectory()<br />
.AllowLocalFilesAccess()<br />
)<br />
.AsWebServer()<br />
.RedirectOutputToConsole()<br />
.Create();<br />
rs.StartAsync().Wait();<br />
Process.Start(new ProcessStartInfo(&quot;cmd&quot;, $&quot;/c start <a href="http://localhost:5488" rel="nofollow">http://localhost:5488</a>&quot;));<br />
Console.ReadKey();<br />
rs.KillAsync().Wait();</p>
<p>.NET Version : - .NET 4.6/4.5<br />
jsreport.Binary :-  1.10.0.0<br />
jsreport.Client :- 2.0.2.0<br />
jsreport.Local:- 1.1.2.0<br />
jsreport.Types :- 1.8.3.0</p>
]]></description><link>https://forum.jsreport.net/topic/742/unsupported-module-in-scripts-http</link><generator>RSS for Node</generator><lastBuildDate>Mon, 07 Sep 2026 23:43:12 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/742.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 23 Sep 2018 18:25:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unsupported module in scripts: http on Sun, 23 Sep 2018 18:27:18 GMT]]></title><description><![CDATA[<p>Hi ,<br />
I tried to use dotnet-local with the very basic default standard configuration, However getting below exception while running sample &quot;Order&quot; template</p>
<p>&quot;<em>Error occured - Error during rendering report: Unsupported module in scripts: http. To enable require on particular module, you need to update the configuration as {&quot;scripts&quot;: { &quot;allowedModules&quot;: [&quot;http&quot;] } } ... Alternatively you can also set &quot;</em>&quot; to allowedModules to enable everything Stak - Error: Unsupported module in scripts: http. To enable require on particular module, you need to update the configuration as {&quot;scripts&quot;: { &quot;allowedModules&quot;: [&quot;http&quot;] } } ... Alternatively you can also set &quot;<em>&quot; to allowedModules to enable everything &quot;</em></p>
<p><strong>Below is the configuration</strong></p>
<p>var rs = new LocalReporting()<br />
.UseBinary(JsReportBinary.GetBinary())<br />
.KillRunningJsReportProcesses()<br />
.RunInDirectory(Path.Combine(Directory.GetCurrentDirectory(), &quot;jsreport&quot;))<br />
.Configure(cfg =&gt; cfg<br />
.CreateSamples()<br />
.AllowLocalFilesAccess()<br />
.BaseUrlAsWorkingDirectory()<br />
.AllowLocalFilesAccess()<br />
)<br />
.AsWebServer()<br />
.RedirectOutputToConsole()<br />
.Create();<br />
rs.StartAsync().Wait();<br />
Process.Start(new ProcessStartInfo(&quot;cmd&quot;, $&quot;/c start <a href="http://localhost:5488" rel="nofollow">http://localhost:5488</a>&quot;));<br />
Console.ReadKey();<br />
rs.KillAsync().Wait();</p>
<p>.NET Version : - .NET 4.6/4.5<br />
jsreport.Binary :-  1.10.0.0<br />
jsreport.Client :- 2.0.2.0<br />
jsreport.Local:- 1.1.2.0<br />
jsreport.Types :- 1.8.3.0</p>
]]></description><link>https://forum.jsreport.net/post/3663</link><guid isPermaLink="true">https://forum.jsreport.net/post/3663</guid><dc:creator><![CDATA[Hemant Savkar]]></dc:creator><pubDate>Sun, 23 Sep 2018 18:27:18 GMT</pubDate></item><item><title><![CDATA[Reply to Unsupported module in scripts: http on Invalid Date]]></title><description><![CDATA[<p>Please explicitly update jsreport.Types to 1.10.2 and run it again.</p>
]]></description><link>https://forum.jsreport.net/post/3690</link><guid isPermaLink="true">https://forum.jsreport.net/post/3690</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>