[英]Random unzip error when installing pdftron on DevOps build
I am trying to install in my pipeline project on DevOps pdftron tool.我正在尝试在 DevOps pdftron 工具上安装我的管道项目。 In order to install this library, I execute this command line: npx @pdftron/webviewer-downloader --path src/lib --v 8.4.0
为了安装这个库,我执行这个命令行: npx @pdftron/webviewer-downloader --path src/lib --v 8.4.0
but most of the times (not always) I get the next error:但大多数时候(并非总是)我得到下一个错误:
I am using a ubuntu-lastest version vm-image and node 14.x version.我正在使用 ubuntu-lastest 版本的 vm-image 和 node 14.x 版本。 I have this two questions ( #487 and #499 ) on github that seems that there was an issue with this tool but It is said, that has been already solved.我在 github 上有这两个问题( #487和#499 ),似乎这个工具有问题,但据说已经解决了。
Any idea?任何想法? Thanks in advance.提前致谢。
Are you able to install the WebViewer dependencies using the NPM package?您是否能够使用 NPM package 安装 WebViewer 依赖项?
https://www.npmjs.com/package/@pdftron/webviewer https://www.pdftron.com/documentation/web/get-started/npm/#1-install-via-npm https://www.npmjs.com/package/@pdftron/webviewer https://www.pdftron.com/documentation/web/get-started/npm/#1-install-via-npm
We've had this issue before with the another package, and no longer recommend using the download-webviewer script.我们之前在使用另一个 package 时遇到过这个问题,不再推荐使用 download-webviewer 脚本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.