Error pdfjs-dist version
See original GitHub issueIn 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.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:7 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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 thepdfjs-dist
version (the current choice) or only a few people having to pin thevue-pdf
version.stick to pdfjs-dist@2.6.347 since 2.7.570 drops ‘support for IE 11 and non-Chromium-based Edge’