简体   繁体   English

在 DevOps 构建上安装 pdftron 时出现随机解压缩错误

[英]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.

相关问题 安装角材时出错 - Error when installing angular material Azure Devops-生成定义ng生成错误无法读取未定义的属性'_statSync' - Azure Devops - Build definition ng build error Cannot read property '_statSync' of undefined 用于Angular的Azure DevOps构建管道并且无法执行构建脚本节点错误 - Azure DevOps build pipeline for Angular and Failed to exec build script Node error Azure devops中的角项目CI给出错误“发布构建工件失败,并显示错误:” - Angular project CI in azure devops giving error 'Publishing build artifacts failed with an error: ' Angular 应用程序与 typescript 在 Azure DevOps 管道上构建错误 - 错误 TS2677 - Angular app with typescript build error on Azure DevOps pipeline - error TS2677 安装微风时Codelyzer的对等软件包错误 - Peer Package Error with Codelyzer when installing breeze 将引导程序安装到Angular中时出现错误消息 - Error message when installing bootstrap into Angular Azure DevOps - Angular 项目构建失败并出现错误:Npm 失败并返回代码:3 - Azure DevOps - Angular project build failing with error: Npm failed with return code: 3 Angular 2 + Algolia搜索-安装键入内容时出错 - Angular 2 + Algolia Search - Error when installing typings 在Ubuntu中安装@ angular / cli时发生错误 - when installing @angular/cli in ubuntu error ocurred
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM