pdfvuer icon indicating copy to clipboard operation
pdfvuer copied to clipboard

Ambiguous indirect export: PDFFindController

Open scottcollins opened this issue 1 year ago • 2 comments

In following the simple example in a brand new Vue3 project created with npm init vue@latest, I am getting the following error in the console when loading the page.

Uncaught SyntaxError: ambiguous indirect export: PDFFindController

Any thoughts on how to resolve this?

Vue3 Vite server

scottcollins avatar Sep 23 '22 12:09 scottcollins

Same bug in Firefox.

But Chrome shows: Uncaught SyntaxError: The requested module '/node_modules/pdfjs-dist/web/pdf_viewer.js?v=75210270' does not provide an export named 'DefaultAnnotationLayerFactory' (at Pdfvuer.vue:14:5)

letavocado avatar Dec 21 '22 16:12 letavocado

same

hx24 avatar Jun 05 '23 06:06 hx24