
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-18-2021 09:57 AM
Hi,
when we try to build (npm run-script build:dist -- --source-map=true) a project created with adf-cli-acs-template, the build fails with this message
ERROR in scripts.9d7058f51ab079a5b4f2.js from Terser Unexpected token: punc (.) [node_modules/pdfjs-dist/build/pdf.js:2205,0][scripts.9d7058f51ab079a5b4f2.js:2205,45]
node version: 12.18.2
npm version: 6.14.13.
Any idea?
Thanks,
Sevastian

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2021 07:40 AM
We resolved using version specified in ADF application generator version 4.4.0.
"pdfjs-dist": "2.5.207",
We started development using 4.3.0.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2021 07:40 AM
We resolved using version specified in ADF application generator version 4.4.0.
"pdfjs-dist": "2.5.207",
We started development using 4.3.0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2021 08:57 AM
Hi @ilseva
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.
Thanks again,
Problem solved? Click Accept as Solution!
