pdf2html icon indicating copy to clipboard operation
pdf2html copied to clipboard

Downloading dependency too slow

Open lyfer233 opened this issue 5 years ago • 3 comments

Downloading dependency "pdfbox-app-2.0.16.jar"and "tika-app-1.22" is too slow. In spite of I try taking these .jar file into "node_modules\pdf2html\vendor ", but it always automatic download. I don't know how to solve this problem~

lyfer233 avatar Jul 30 '21 04:07 lyfer233

Downloading dependency "pdfbox-app-2.0.16.jar"and "tika-app-1.22" is too slow. In spite of I try taking these .jar file into "node_modules\pdf2html\vendor ", but it always automatic download. I don't know how to solve this problem~

Try use npm cache in this case

Malahovskys avatar Aug 11 '21 21:08 Malahovskys

YES. Me too in this case. Pleas help me!! It stuck than more 15 minutes not done Screen Shot 2021-11-22 at 09 26 56

thuccoi avatar Nov 22 '21 02:11 thuccoi

You can manually download pdfbox-app-2.0.16.jar and tika-app-1.22.jar files and place them in the vendor directory. The post-install script will skip the dependency downloads if the file exists.

http://archive.apache.org/dist/pdfbox/2.0.16/pdfbox-app-2.0.16.jar
http://archive.apache.org/dist/tika/tika-app-1.22.jar

shebinleo avatar Nov 22 '21 03:11 shebinleo