Issue with kendo-angular-pdfviewer

1 Answer 9 Views
PDFViewer
Ananth
Top achievements
Rank 1
Ananth asked on 01 Sep 2025, 05:48 AM

Getting below error while building angular application

10:04:17 am[vite] (client)warning: 

/.../.angular/cache/20.2.1/.../vite/deps/@progress_kendo-angular-pdfviewer.js

16367 |        const worker = yield import(

16368 |          /*webpackIgnore: true*/

16369 |          this.workerSrc

      |          ^^^^^^^^^^^^^^

16370 |        );

16371 |        return worker.WorkerMessageHandler;

The above dynamic import cannot be analyzed by Vite.

See https://github.com/rollup/plugins/tree/master/packages/dynamic-import-vars#limitations for supported dynamic import formats. If this is intended to be left as-is, you can use the /* @vite-ignore */ comment inside the import() call to suppress this warning.

 

  Plugin: vite:import-analysis

  File: /.../.angular/cache/20.2.1/.../vite/deps/@progress_kendo-angular-pdfviewer.js?v=46fe0012




@progress/kendo-angular-pdfviewer: 20.0.2

Angular:  20.2.1

Node: 22.18.0

NPM: 10.9.3

 

 

 

1 Answer, 1 is accepted

Sort by
0
Zornitsa
Telerik team
answered on 03 Sep 2025, 07:28 AM

Hi Ananth,

Thank you for the details provided.

Our team is aware of this warning and has scheduled an internal task to upgrade to pdf.js version 5.x, which will resolve the issue. In the meantime, the warning can be ignored, as it does not impact the component’s functionality nor does it appear in production.

On that note, potentially suppressing this warning does not appear to be straightforward, but since the warning is not critical, it can be safely ignored for now.

I hope the provided information sheds some light on the matter.

Regards,
Zornitsa
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
PDFViewer
Asked by
Ananth
Top achievements
Rank 1
Answers by
Zornitsa
Telerik team
Share this question
or