arkokoley/pdfvuer

Ambiguous indirect export: PDFFindController

scottcollins opened this issue · 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

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)

hx24 commented

same