[Solved] Issue with kendo-angular-pdfviewer

3 Answers 197 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

 

 

 

3 Answers, 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.

0
Paweł
Top achievements
Rank 1
Iron
answered on 03 Mar 2026, 12:54 PM

Hello Zornitsa,

 

We got the same warning. Can you tell us what the status of this issue is?

 

Regards,

Pawel

Martin Bechev
Telerik team
commented on 04 Mar 2026, 12:00 PM

Hi Pawel,

The pdf.js v5 is still in the process of adoption.

Once we complete and release a version, we will notify you here.

Regards,

Martin

0
Martin Bechev
Telerik team
answered on 22 May 2026, 07:53 AM

Hello all,

The adoption of PDF.js v5 is now completed.

Update the Kendo packages to the latest v24.0.0 and let us know if you have any follow-up questions or concerns.

https://www.telerik.com/kendo-angular-ui/components/up-to-date#updating-to-latest-versions

You can also try our new AI Assistant for migrating Kendo Angular packages between major versions:

https://www.telerik.com/kendo-angular-ui/components/ai-migration

Regards,
Martin Bechev
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
Paweł
Top achievements
Rank 1
Iron
Martin Bechev
Telerik team
Share this question
or