<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem with pdfjs-dist on build in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-pdfjs-dist-on-build/m-p/10160#M4509</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;when we try to build (npm run-script build:dist -- --source-map=true) a project created with&amp;nbsp;adf-cli-acs-template, the build fails with this message&lt;/P&gt;&lt;PRE&gt;ERROR in scripts.9d7058f51ab079a5b4f2.js from Terser
Unexpected token: punc (.) [node_modules/pdfjs-dist/build/pdf.js:2205,0][scripts.9d7058f51ab079a5b4f2.js:2205,45]&lt;/PRE&gt;&lt;P&gt;node version: 12.18.2&lt;/P&gt;&lt;P&gt;npm version: 6.14.13.&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sevastian&lt;/P&gt;</description>
    <pubDate>Fri, 18 Jun 2021 13:57:39 GMT</pubDate>
    <dc:creator>ilseva</dc:creator>
    <dc:date>2021-06-18T13:57:39Z</dc:date>
    <item>
      <title>Problem with pdfjs-dist on build</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-pdfjs-dist-on-build/m-p/10160#M4509</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;when we try to build (npm run-script build:dist -- --source-map=true) a project created with&amp;nbsp;adf-cli-acs-template, the build fails with this message&lt;/P&gt;&lt;PRE&gt;ERROR in scripts.9d7058f51ab079a5b4f2.js from Terser
Unexpected token: punc (.) [node_modules/pdfjs-dist/build/pdf.js:2205,0][scripts.9d7058f51ab079a5b4f2.js:2205,45]&lt;/PRE&gt;&lt;P&gt;node version: 12.18.2&lt;/P&gt;&lt;P&gt;npm version: 6.14.13.&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sevastian&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 13:57:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-with-pdfjs-dist-on-build/m-p/10160#M4509</guid>
      <dc:creator>ilseva</dc:creator>
      <dc:date>2021-06-18T13:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with pdfjs-dist on build</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-pdfjs-dist-on-build/m-p/10161#M4510</link>
      <description>&lt;P&gt;We resolved using version specified in&amp;nbsp;ADF application generator version 4.4.0.&lt;/P&gt;&lt;PRE&gt; "pdfjs-dist": "2.5.207",&lt;/PRE&gt;&lt;P&gt;We started development using 4.3.0.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 11:40:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-with-pdfjs-dist-on-build/m-p/10161#M4510</guid>
      <dc:creator>ilseva</dc:creator>
      <dc:date>2021-06-21T11:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with pdfjs-dist on build</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-pdfjs-dist-on-build/m-p/10162#M4511</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/86128"&gt;@ilseva&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Great news that you resolved your problem and thanks for updating us on how you did it - really useful to other members facing the same problem.&lt;/P&gt;
&lt;P&gt;Thanks again,&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 12:57:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-with-pdfjs-dist-on-build/m-p/10162#M4511</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2021-06-21T12:57:06Z</dc:date>
    </item>
  </channel>
</rss>

