question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error pdfjs-dist version

See original GitHub issue

In 1a47de972abefd2079a4e23485041f08d9f68aab commit, you changed the pdfjs-dist version to less than 2.8.0, but download the vue-pdf 4.2.0 version from npm, it will be downloaded to 2.8.335 version as shown in the screenshot. The current workaround is to install npm install pdfjs-dist@2.5.207

vue-pdf version: 4.2.0 vue-cli: 4.4.4

The commit content has not yet been applied when downloading.

스크린샷 2021-06-16 오후 12 45 17 스크린샷 2021-06-16 오후 12 48 39

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
EHadouxcommented, Jun 18, 2021

stick to pdfjs-dist@2.6.347 since 2.7.570 drops ‘support for IE 11 and non-Chromium-based Edge’

Does it really make sense though? These browsers are antiquated and their support should be dropped anyway. Instead of holding the whole vue-pdf lib back, why not package a last version that supports them, talk about it and then move forward with a new major version? It’s a choice between everyone having to pin the pdfjs-dist version (the current choice) or only a few people having to pin the vue-pdf version.

2reactions
FranckFreiburgercommented, Jun 17, 2021

stick to pdfjs-dist@2.6.347 since 2.7.570 drops ‘support for IE 11 and non-Chromium-based Edge’

Read more comments on GitHub >

github_iconTop Results From Across the Web

node packge pdfjs-dist@2.6.347 syntax error #13190 - GitHub
First of all, that version is no longer supported; please find the latest releases at https://mozilla.github.io/pdf.js/getting_started/#download ...
Read more >
pdfjs-dist - npm
Latest version: 3.1.81, last published: a month ago. Start using pdfjs-dist in your project by running `npm i pdfjs-dist`.
Read more >
How i can fix this error message with pdfjs-dist and angular?
I install pdfjs-lib in project angular for convert PDF to canvas after ... node_modules/pdfjs-dist/build/pdf.js 2094:26 Module parse failed: ...
Read more >
Solved: Problem with pdfjs-dist on build - Alfresco Hub
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.
Read more >
How to use the pdfjs-dist.GlobalWorkerOptions function in ...
node_modules/pdfjs-dist/build/pdf.worker.js'; const container = document.getElementById('viewerContainer'); if (! container) { throw new Error("No ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found