<?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[Update the pdf-utils dependencies of jsreport2.11.0 to solve the error &quot;pdf-utils operations. A Name cannot be undefined&quot;]]></title><description><![CDATA[<p>Hi,<br />
this error occurs and has been already discussed on <a href="https://forum.jsreport.net/topic/2002/pdf-utils-with-custom-font-causes-undefined-name-error/6">https://forum.jsreport.net/topic/2002/pdf-utils-with-custom-font-causes-undefined-name-error/6</a> but recently it has shown up again.</p>
<p>We suspect it was related to the package dependencies, as the fix has been released in the jsreport-pdfjs  with at least the 0.5.3, actually released at 0.5.4; currently, the linked to the jsreport-pdf-utils into the 1.11.0 with 0.5.2 and the previously 1.10.1 has the 0.5.1 on dependencies. In those cases we've still check the error</p>
<p>In the latest tagged and released version of jsreport 2.11.0 (<a href="https://github.com/jsreport/jsreport/blob/2.11.0/package.json" rel="nofollow">https://github.com/jsreport/jsreport/blob/2.11.0/package.json</a>), there is a stricted dependencies to the 1.10.1 that cause some problem with the npm ci installation of packages, and the following tagged version (that fix the dependencies) is the 3.0.0 that we could not install yet on customers.</p>
<p>Can you please release a new version of js2 (2.11.1) with the dependencies updated, with <em>jsreport-pdf-utils</em> at 1.11.1 that has the dependencies of <em>jsreport-pdfjs</em> of 0.5.4? Or at least give us a procedure to follow in order to solve eventually other dependencies problem?</p>
<p>Thank you.</p>
]]></description><link>https://forum.jsreport.net/topic/2133/update-the-pdf-utils-dependencies-of-jsreport2-11-0-to-solve-the-error-pdf-utils-operations-a-name-cannot-be-undefined</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 23:07:04 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/2133.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 24 Sep 2021 19:20:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Update the pdf-utils dependencies of jsreport2.11.0 to solve the error &quot;pdf-utils operations. A Name cannot be undefined&quot; on Invalid Date]]></title><description><![CDATA[<p>Hi,<br />
this error occurs and has been already discussed on <a href="https://forum.jsreport.net/topic/2002/pdf-utils-with-custom-font-causes-undefined-name-error/6">https://forum.jsreport.net/topic/2002/pdf-utils-with-custom-font-causes-undefined-name-error/6</a> but recently it has shown up again.</p>
<p>We suspect it was related to the package dependencies, as the fix has been released in the jsreport-pdfjs  with at least the 0.5.3, actually released at 0.5.4; currently, the linked to the jsreport-pdf-utils into the 1.11.0 with 0.5.2 and the previously 1.10.1 has the 0.5.1 on dependencies. In those cases we've still check the error</p>
<p>In the latest tagged and released version of jsreport 2.11.0 (<a href="https://github.com/jsreport/jsreport/blob/2.11.0/package.json" rel="nofollow">https://github.com/jsreport/jsreport/blob/2.11.0/package.json</a>), there is a stricted dependencies to the 1.10.1 that cause some problem with the npm ci installation of packages, and the following tagged version (that fix the dependencies) is the 3.0.0 that we could not install yet on customers.</p>
<p>Can you please release a new version of js2 (2.11.1) with the dependencies updated, with <em>jsreport-pdf-utils</em> at 1.11.1 that has the dependencies of <em>jsreport-pdfjs</em> of 0.5.4? Or at least give us a procedure to follow in order to solve eventually other dependencies problem?</p>
<p>Thank you.</p>
]]></description><link>https://forum.jsreport.net/post/9349</link><guid isPermaLink="true">https://forum.jsreport.net/post/9349</guid><dc:creator><![CDATA[dfiorentin]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Update the pdf-utils dependencies of jsreport2.11.0 to solve the error &quot;pdf-utils operations. A Name cannot be undefined&quot; on Invalid Date]]></title><description><![CDATA[<p>I've just updated the pdf utils, you can install it from the npm.</p>
<pre><code>npm i --save jsreport-pdf-utils@1.11.1
</code></pre>
]]></description><link>https://forum.jsreport.net/post/9351</link><guid isPermaLink="true">https://forum.jsreport.net/post/9351</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Update the pdf-utils dependencies of jsreport2.11.0 to solve the error &quot;pdf-utils operations. A Name cannot be undefined&quot; on Invalid Date]]></title><description><![CDATA[<p>Thanks. Now, this jsreport-pdf-utils version correctly ping to 0.5.4, but the version of jsreport is still 2.11.0 that has the dependencies of bugged jsreport-pdf-utils 1.10.1.</p>
<p>Is it possibile to release a new tag of jsreport project with the dependencies of new version of pdf-utils?</p>
<p>I've tried your code, but in <em>jsreport</em> folder i've got the  node modules of 1.10.1 related to jsreport, and in the <em>jsreport-pdf-utils</em> folder the right 1.11.1; the jsreport render still using the 1.10.1 with the 'broken' package directory.</p>
<p>Alternatively, is there a way to force the jsreport render to use a particular package version?</p>
]]></description><link>https://forum.jsreport.net/post/9352</link><guid isPermaLink="true">https://forum.jsreport.net/post/9352</guid><dc:creator><![CDATA[dfiorentin]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Update the pdf-utils dependencies of jsreport2.11.0 to solve the error &quot;pdf-utils operations. A Name cannot be undefined&quot; on Invalid Date]]></title><description><![CDATA[<p>You should have something like this in the <code>package.json</code></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.11.0&quot;,
    &quot;jsreport-pdf-utils&quot;: &quot;1.11.1&quot;
  }
}
</code></pre>
<p>The <code>npm install</code> will resolve to have <code>app/node_modules/jsreport-pdf-utils/package.json</code> containing the version <code>1.11.1</code>. You should see also the following line in the jsreport start log</p>
<pre><code>2021-09-27T10:48:23.587Z - info: Using extension pdf-utils@local:C:\work\temp\app3\node_modules\jsreport-pdf-utils:1.11.1
</code></pre>
<p>In other words, when you install a different version of an extension, jsreport will automatically skip its default extension version and use the one you installed.</p>
]]></description><link>https://forum.jsreport.net/post/9353</link><guid isPermaLink="true">https://forum.jsreport.net/post/9353</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Update the pdf-utils dependencies of jsreport2.11.0 to solve the error &quot;pdf-utils operations. A Name cannot be undefined&quot; on Invalid Date]]></title><description><![CDATA[<p>It works,<br />
thank you for your explaination!</p>
]]></description><link>https://forum.jsreport.net/post/9354</link><guid isPermaLink="true">https://forum.jsreport.net/post/9354</guid><dc:creator><![CDATA[dfiorentin]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>