<?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[Install ejs engine]]></title><description><![CDATA[<p>Can someone please help me installing <code>EJS</code> engine for jsreport v2 server.  I followed the instructions on <a href="https://jsreport.net/learn/ejs" rel="nofollow">https://jsreport.net/learn/ejs</a> page, but when I start jsreport server and access it using <a href="http://localhost" rel="nofollow">http://localhost</a>:xxxx it doesn't detect ejs engine. I added new module as an extension to configuration file.  I want ejs to be available as an option in the dropdown.  Our team designs jsreport templates on the server, so its visibility is important. Here is my config file</p>
<pre><code class="language-{">  
  &quot;httpPort&quot;: xxxx,
  &quot;store&quot;: {
    &quot;provider&quot;: &quot;fs&quot;
  },
  &quot;blobStorage&quot;: {
    &quot;provider&quot;: &quot;fs&quot;
  },
  &quot;logger&quot;: {
    &quot;console&quot;: {
      &quot;transport&quot;: &quot;console&quot;,
      &quot;level&quot;: &quot;debug&quot;
    },
    &quot;file&quot;: {
      &quot;transport&quot;: &quot;file&quot;,
      &quot;level&quot;: &quot;info&quot;,
      &quot;filename&quot;: &quot;logs/reporter.log&quot;
    },
    &quot;error&quot;: {
      &quot;transport&quot;: &quot;file&quot;,
      &quot;level&quot;: &quot;error&quot;,
      &quot;filename&quot;: &quot;logs/error.log&quot;
    }
  },
  &quot;allowLocalFilesAccess&quot;: true,
  &quot;templatingEngines&quot;: {
	&quot;allowedModules&quot;: [&quot;lodash&quot;,&quot;request&quot;],
	&quot;numberOfWorkers&quot; : 2,
    &quot;timeout&quot;: 10000
  },
  &quot;chrome&quot;: {
    &quot;timeout&quot;: 40000
  },
  &quot;extensions&quot;: {  
	&quot;ejs&quot;: {   
      &quot;enabled&quot;: true
    },
    &quot;scripts&quot;: {
        &quot;allowedModules&quot;: [&quot;nodemailer&quot;],
        &quot;timeout&quot;: 60000
    },
    &quot;studio&quot;: {
		&quot;enabled&quot;: true
	}
  }
}
</code></pre>
<p>![alt text](<img src="/uploads/files/1536619901320-upload-7b5b82b0-97e5-4820-a3f8-c4af09fed0f6.png" alt="0_1536619945594_upload-7b5b82b0-97e5-4820-a3f8-c4af09fed0f6" class="img-responsive img-markdown" /> image url)</p>
]]></description><link>https://forum.jsreport.net/topic/713/install-ejs-engine</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 05:43:15 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/713.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 10 Sep 2018 22:48:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Install ejs engine on Mon, 10 Sep 2018 23:06:37 GMT]]></title><description><![CDATA[<p>Can someone please help me installing <code>EJS</code> engine for jsreport v2 server.  I followed the instructions on <a href="https://jsreport.net/learn/ejs" rel="nofollow">https://jsreport.net/learn/ejs</a> page, but when I start jsreport server and access it using <a href="http://localhost" rel="nofollow">http://localhost</a>:xxxx it doesn't detect ejs engine. I added new module as an extension to configuration file.  I want ejs to be available as an option in the dropdown.  Our team designs jsreport templates on the server, so its visibility is important. Here is my config file</p>
<pre><code class="language-{">  
  &quot;httpPort&quot;: xxxx,
  &quot;store&quot;: {
    &quot;provider&quot;: &quot;fs&quot;
  },
  &quot;blobStorage&quot;: {
    &quot;provider&quot;: &quot;fs&quot;
  },
  &quot;logger&quot;: {
    &quot;console&quot;: {
      &quot;transport&quot;: &quot;console&quot;,
      &quot;level&quot;: &quot;debug&quot;
    },
    &quot;file&quot;: {
      &quot;transport&quot;: &quot;file&quot;,
      &quot;level&quot;: &quot;info&quot;,
      &quot;filename&quot;: &quot;logs/reporter.log&quot;
    },
    &quot;error&quot;: {
      &quot;transport&quot;: &quot;file&quot;,
      &quot;level&quot;: &quot;error&quot;,
      &quot;filename&quot;: &quot;logs/error.log&quot;
    }
  },
  &quot;allowLocalFilesAccess&quot;: true,
  &quot;templatingEngines&quot;: {
	&quot;allowedModules&quot;: [&quot;lodash&quot;,&quot;request&quot;],
	&quot;numberOfWorkers&quot; : 2,
    &quot;timeout&quot;: 10000
  },
  &quot;chrome&quot;: {
    &quot;timeout&quot;: 40000
  },
  &quot;extensions&quot;: {  
	&quot;ejs&quot;: {   
      &quot;enabled&quot;: true
    },
    &quot;scripts&quot;: {
        &quot;allowedModules&quot;: [&quot;nodemailer&quot;],
        &quot;timeout&quot;: 60000
    },
    &quot;studio&quot;: {
		&quot;enabled&quot;: true
	}
  }
}
</code></pre>
<p>![alt text](<img src="/uploads/files/1536619901320-upload-7b5b82b0-97e5-4820-a3f8-c4af09fed0f6.png" alt="0_1536619945594_upload-7b5b82b0-97e5-4820-a3f8-c4af09fed0f6" class="img-responsive img-markdown" /> image url)</p>
]]></description><link>https://forum.jsreport.net/post/3544</link><guid isPermaLink="true">https://forum.jsreport.net/post/3544</guid><dc:creator><![CDATA[Farah Javed]]></dc:creator><pubDate>Mon, 10 Sep 2018 23:06:37 GMT</pubDate></item><item><title><![CDATA[Reply to Install ejs engine on Invalid Date]]></title><description><![CDATA[<p>hi! sorry, in your screenshot i see the <code>ejs</code> option already in the engine dropdown, what am i missing?</p>
]]></description><link>https://forum.jsreport.net/post/3550</link><guid isPermaLink="true">https://forum.jsreport.net/post/3550</guid><dc:creator><![CDATA[bjrmatos]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Install ejs engine on Tue, 11 Sep 2018 01:26:43 GMT]]></title><description><![CDATA[<p>this screenshot is taken from jsreport playground.  Here is the actual screenshot<br />
![alt text](<img src="/uploads/files/1536629190344-upload-a48abc62-2aac-4875-bce0-62e66784d58f.png" alt="0_1536629234762_upload-a48abc62-2aac-4875-bce0-62e66784d58f" class="img-responsive img-markdown" /> image url)</p>
]]></description><link>https://forum.jsreport.net/post/3551</link><guid isPermaLink="true">https://forum.jsreport.net/post/3551</guid><dc:creator><![CDATA[Farah Javed]]></dc:creator><pubDate>Tue, 11 Sep 2018 01:26:43 GMT</pubDate></item><item><title><![CDATA[Reply to Install ejs engine on Tue, 11 Sep 2018 18:51:12 GMT]]></title><description><![CDATA[<p>hmm if you installed <code>ejs</code> with <code>npm install jsreport-ejs</code> the extension should be loaded, what is the content of your <code>package.json</code>? and what are the full logs that you get when starting jsreport?</p>
]]></description><link>https://forum.jsreport.net/post/3559</link><guid isPermaLink="true">https://forum.jsreport.net/post/3559</guid><dc:creator><![CDATA[bjrmatos]]></dc:creator><pubDate>Tue, 11 Sep 2018 18:51:12 GMT</pubDate></item><item><title><![CDATA[Reply to Install ejs engine on Wed, 12 Sep 2018 15:11:50 GMT]]></title><description><![CDATA[<p>Content of package.json in jsreportapp folder. I can see the node_module <code>jsreport-ejs</code>  in  <code>jsreportapp\node_module</code> folder.  I don't know which step am i missing to make it work. Our most of reporting templates are written in ejs, so its super important for us to install this modules for jsreport v2</p>
<pre><code>{
  &quot;name&quot;: &quot;jsreport-server&quot;,
  &quot;main&quot;: &quot;server.js&quot;,
  &quot;scripts&quot;: {
    &quot;start&quot;: &quot;node server&quot;,
    &quot;jsreport&quot;: &quot;jsreport&quot;
  },
  &quot;jsreport&quot;: {
    &quot;entryPoint&quot;: &quot;server.js&quot;
  },
  &quot;dependencies&quot;: {
    &quot;jsreport&quot;: &quot;2.2.0&quot;,
    &quot;jsreport-ejs&quot;: &quot;^2.0.0&quot;
  }
}
</code></pre>
]]></description><link>https://forum.jsreport.net/post/3564</link><guid isPermaLink="true">https://forum.jsreport.net/post/3564</guid><dc:creator><![CDATA[Farah Javed]]></dc:creator><pubDate>Wed, 12 Sep 2018 15:11:50 GMT</pubDate></item><item><title><![CDATA[Reply to Install ejs engine on Wed, 12 Sep 2018 15:19:24 GMT]]></title><description><![CDATA[<p>Full log of jsreport when starting the application</p>
<pre><code>C:\source\jsreportapp&gt;jsreport start --verbose
resolving jsreport location..
using jsreport instance passed from options
starting jsreport..
2018-09-12T15:17:47.476Z - info: Initializing jsreport@2.2.0 in development mode using configuration file: jsreport.config.json
2018-09-12T15:17:47.529Z - info: Using extension cli
2018-09-12T15:17:47.537Z - info: Using extension handlebars
2018-09-12T15:17:47.539Z - info: Using extension puppeteer-compile
2018-09-12T15:17:47.540Z - info: Using extension authentication
2018-09-12T15:17:47.546Z - debug: Extension authentication was disabled
2018-09-12T15:17:47.547Z - info: Using extension import-export
2018-09-12T15:17:47.549Z - info: Using extension templates
2018-09-12T15:17:47.549Z - info: Using extension freeze
2018-09-12T15:17:47.551Z - info: Using extension debug
2018-09-12T15:17:47.553Z - info: Using extension express
2018-09-12T15:17:47.558Z - info: Using extension tags
2018-09-12T15:17:47.560Z - info: Using extension jsrender
2018-09-12T15:17:47.560Z - info: Using extension data
2018-09-12T15:17:47.561Z - info: Using extension authorization
2018-09-12T15:17:47.563Z - debug: Extension authorization was disabled
2018-09-12T15:17:47.563Z - info: Using extension html-to-xlsx
2018-09-12T15:17:47.566Z - info: html-to-xlsx detected chrome as available html engine
2018-09-12T15:17:47.567Z - info: Using extension chrome-pdf
2018-09-12T15:17:47.571Z - debug: Chrome custom launch options are executablePath=C:\Users\..\AppData\Local\Temp\jsreport\compile\jsreport-2.2.0-r17qQMiI7\chrome\chrome
2018-09-12T15:17:47.572Z - info: Using extension child-templates
2018-09-12T15:17:47.573Z - info: Using extension licensing
2018-09-12T15:17:47.574Z - info: Using extension fs-store
2018-09-12T15:17:47.576Z - info: Using extension version-control
2018-09-12T15:17:47.640Z - info: Using extension browser-client
2018-09-12T15:17:47.642Z - info: Using extension reports
2018-09-12T15:17:47.644Z - info: Using extension text
2018-09-12T15:17:47.645Z - info: Using extension base
2018-09-12T15:17:47.647Z - info: Using extension studio
2018-09-12T15:17:47.650Z - info: Using extension pdf-utils
2018-09-12T15:17:47.652Z - info: Using extension scripts
2018-09-12T15:17:47.659Z - info: Using extension assets
2018-09-12T15:17:47.662Z - info: Using extension scheduling
2018-09-12T15:17:47.666Z - info: Using extension xlsx
2018-09-12T15:17:47.670Z - info: Using extension sample-template
2018-09-12T15:17:47.673Z - debug: Creating samples is disabled
2018-09-12T15:17:47.674Z - info: Using extension resources
2018-09-12T15:17:47.675Z - info: Using extension public-templates
2018-09-12T15:17:47.676Z - debug: Extension public-templates was disabled
2018-09-12T15:17:47.681Z - info: fs store is persisting using fs
2018-09-12T15:17:47.682Z - info: fs store is synchronizing using fs
2018-09-12T15:17:47.722Z - info: fs store is loading data
2018-09-12T15:17:47.797Z - debug: fs store sync is configured to use polling for files watcher
2018-09-12T15:17:48.010Z - info: fs store is initialized successfully
2018-09-12T15:17:50.085Z - info: Creating default express app.
2018-09-12T15:17:50.106Z - info: jsreport server successfully started on http port: 4000
2018-09-12T15:17:50.123Z - info: fs store emits sockets to synchronize underlying changes with studio
2018-09-12T15:17:50.130Z - info: Verifying license key xxxxx
2018-09-12T15:17:50.133Z - info: License key for subscription verified against the jsreport.license.json file
2018-09-12T15:17:50.137Z - info: reporter initialized
jsreport successfully started</code></pre>
]]></description><link>https://forum.jsreport.net/post/3565</link><guid isPermaLink="true">https://forum.jsreport.net/post/3565</guid><dc:creator><![CDATA[Farah Javed]]></dc:creator><pubDate>Wed, 12 Sep 2018 15:19:24 GMT</pubDate></item><item><title><![CDATA[Reply to Install ejs engine on Invalid Date]]></title><description><![CDATA[<p>Could you please share also the <code>server.js</code> file content?</p>
]]></description><link>https://forum.jsreport.net/post/3567</link><guid isPermaLink="true">https://forum.jsreport.net/post/3567</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Install ejs engine on Invalid Date]]></title><description><![CDATA[<p>here is file content of server.js</p>
<pre><code>const jsreport = require('jsreport')()

if (process.env.JSREPORT_CLI) {
  // export jsreport instance to make it possible to use jsreport-cli
  module.exports = jsreport
} else {
  jsreport.init().then(() =&gt; {
    // running
  }).catch((e) =&gt; {
    // error during startup
    console.error(e.stack)
    process.exit(1)
  })
}</code></pre>
]]></description><link>https://forum.jsreport.net/post/3568</link><guid isPermaLink="true">https://forum.jsreport.net/post/3568</guid><dc:creator><![CDATA[Farah Javed]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Install ejs engine on Invalid Date]]></title><description><![CDATA[<p>hm, that looks normal, that is mystery...</p>
<p>I believe the key will be in this lines</p>
<pre><code>resolving jsreport location..
using jsreport instance passed from options
</code></pre>
<p>That is something that should not be there. <a class="plugin-mentions-a" href="https://forum.jsreport.net/uid/4">@bjrmatos</a> will know better what that means.</p>
<p>Maybe as a workaround you can use just this to boot up</p>
<pre><code class="language-js">node server.js
</code></pre>
]]></description><link>https://forum.jsreport.net/post/3569</link><guid isPermaLink="true">https://forum.jsreport.net/post/3569</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Install ejs engine on Wed, 12 Sep 2018 16:02:12 GMT]]></title><description><![CDATA[<p>node server.js does not work</p>
<pre><code>C:\source\jsreportapp&gt;node server.js
internal/modules/cjs/loader.js:596
    throw err;
    ^

Error: Cannot find module 'node.extend'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
    at Function.Module._load (internal/modules/cjs/loader.js:520:25)
    at Module.require (internal/modules/cjs/loader.js:650:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.&lt;anonymous&gt; (C:\source\jsreportapp\node_modules\jsreport\index.js:20:16)
    at Module._compile (internal/modules/cjs/loader.js:702:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
    at Module.load (internal/modules/cjs/loader.js:612:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
    at Function.Module._load (internal/modules/cjs/loader.js:543:3)</code></pre>
]]></description><link>https://forum.jsreport.net/post/3570</link><guid isPermaLink="true">https://forum.jsreport.net/post/3570</guid><dc:creator><![CDATA[Farah Javed]]></dc:creator><pubDate>Wed, 12 Sep 2018 16:02:12 GMT</pubDate></item><item><title><![CDATA[Reply to Install ejs engine on Invalid Date]]></title><description><![CDATA[<p>I guess you have very old npm right?<br />
Can you type this?</p>
<pre><code>npm --version
</code></pre>
<p>I would guess you have something like v2 and you should have something like v6</p>
<p>Can you upgrade it and reinstall jsreport?</p>
]]></description><link>https://forum.jsreport.net/post/3571</link><guid isPermaLink="true">https://forum.jsreport.net/post/3571</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Install ejs engine on Invalid Date]]></title><description><![CDATA[<p>npm and node versions are up to date</p>
<pre><code>C:\&gt;npm --version
6.4.1

C:\&gt;node --version
v10.5.0</code></pre>
]]></description><link>https://forum.jsreport.net/post/3572</link><guid isPermaLink="true">https://forum.jsreport.net/post/3572</guid><dc:creator><![CDATA[Farah Javed]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Install ejs engine on Invalid Date]]></title><description><![CDATA[<p>do i need to configure anything in <code>jsreport.config.json</code> file so that it can detect ejs engine?</p>
]]></description><link>https://forum.jsreport.net/post/3573</link><guid isPermaLink="true">https://forum.jsreport.net/post/3573</guid><dc:creator><![CDATA[Farah Javed]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Install ejs engine on Wed, 12 Sep 2018 18:57:20 GMT]]></title><description><![CDATA[<p>No you don't need any configuration. I tried the latest npm and have no issues on windows.<br />
I would recommend to uninstall node, remove jsreportapp. Reboot and start from scratch.</p>
<p>The error you posted <code>Error: Cannot find module 'node.extend'</code> should not happen at all if you install jsreport with your npm.<br />
Isn't there any error when calling <code>jsreport init</code> ?</p>
]]></description><link>https://forum.jsreport.net/post/3576</link><guid isPermaLink="true">https://forum.jsreport.net/post/3576</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Wed, 12 Sep 2018 18:57:20 GMT</pubDate></item><item><title><![CDATA[Reply to Install ejs engine on Invalid Date]]></title><description><![CDATA[<p>turned off npm <code>legacy-bundling</code> and it worked. Thanks for the help</p>
]]></description><link>https://forum.jsreport.net/post/3586</link><guid isPermaLink="true">https://forum.jsreport.net/post/3586</guid><dc:creator><![CDATA[Farah Javed]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>