arkokoley/pdfvuer

Latest version 1.7.3 not working

iuri-gg opened this issue · 10 comments

Im getting following errors: "export 'default' (imported as 'pdfvuer') was not found in 'pdfvuer'

I have following statement inside my vue file: import pdfvuer from 'pdfvuer'. If I use v1.6.1 then everything works fine.

Any thoughts?

facing same issue
Uncaught (in promise) TypeError: Cannot read property '_c' of undefined

@arkokoley This is still not working. I am getting exactly same error as with 1.7.3: "export 'default' (imported as 'pdfvuer') was not found in 'pdfvuer'

"export 'default' (imported as 'pdfvuer') was not found in 'pdfvuer'
    at HarmonyImportSpecifierDependency._getErrors (/REDACTED/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js:109:11)
    at HarmonyImportSpecifierDependency.getErrors (/REDACTED/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js:68:16)
    at Compilation.reportDependencyErrorsAndWarnings (/REDACTED/node_modules/webpack/lib/Compilation.js:1463:22)

getting error: "export 'default' (imported as 'pdfvuer') was not found in 'pdfvuer'

Thanks for looking into this. I created smallest example from my config that will break. here is the repo link: https://github.com/ocha/pdfvuer_test/

If you change version of pdfvuer to =1.6.1 in package.json, and run yarn install, then it will work. 1.7.3 and 1.7.5 are broken.

@ocha this seems to work with vue-cli-service but not the webpack config that you have shared. It will be interesting to see what is missing from the webpack config.