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
Solved! Go to Solution.
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.
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.
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,
Discussions, help and advice about the Alfresco Development Framework.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.