Open dvago opened 2 years ago
same problem as you, do I have to downgrade to VUE-CLI4.0
Same issue here while migrating to vue-cli 5.x
Same here
same +1
+1
This is strange. I don't know what I did, but it works for me.
However, it uses worker-loader which outputs DEP_WEBPACK_COMPILATION_CACHE
and DEP_WEBPACK_DEPRECATION_ARRAY_TO_SET_INDEXER
with Webpack 5 brought by vue-cli 5.
same +1
@liugj101 I ended up forking the project, cleaning up the code and make it work for vue-cli
5, this vue-pdf
project is clearly dead, it's pretty pointless waiting for any maintainer doing anything.
@dvago Are you able to share those changes, or was only a catch call needed? https://github.com/dvago/vue-pdf
Not really, I created a package within my company git account and stripped out lots of features that we don't use to run it as simple as possible, so the package is not called vue-pdf
anymore and it's not public.
I don't think it makes sense for me to publish a clone of it as I'm not going to be able to maintain it or keep up with the eventual broad public requests to be fair, hope that makes sense.
same +1
@MoNaiZi This package works well - https://github.com/hrynko/vue-pdf-embed
+1 ERROR in ./node_modules/pdfjs-dist/es5/build/pdf.worker.js (./node_modules/vue-pdf/node_modules/worker-loader/dist/cjs.js!./node_modules/pdfjs-dist/es5/build/pdf.worker.js)
+1
+1
The newer version of vue-cli 5.x migrates from webpack 4 to webpack 5, the newer version of webpack does change the support for web workers.
So, the latest version of vue-pdf throws the following error:
Would you please update this package to make it run with vue-cli 5?