Kendo-react-pdf throwing error when building.

0 Answers 187 Views
PDF Processing
Licensing
Top achievements
Rank 1
Licensing asked on 24 Dec 2023, 01:19 AM | edited on 24 Dec 2023, 02:12 AM
I have used PDFExport component, but I get an error while building.  I have installed @progress/kendo-drawing also, still build fails. What am I missing? When running, it is showing error for either kendo-drawing or kendo-file-saver or kendo-react-common. I don't need these for my project still installed it due to the error, but this doesn't fixed the issue.

ModuleNotFoundError: Module not found: Error: Can't resolve '@progress/kendo-drawing' in 'C:\Users\...\AppData\Local\Bit\capsules\9789..\node_modules\.pnpm\@progress+kendo-react-pdf@7.0.2_react-dom@18.2.0_react@18.2.0\node_modules\@progress\kendo-react-pdf'
Plamen
Telerik team
commented on 26 Dec 2023, 06:15 AM

Each KendoReact package besides its own logic usually needs to use some logic from other Kendo npm package to be able to perform its logic. For '@progress/kendo-react-pdf' such packages are : @progress/kendo-drawing,  "@progress/kendo-file-saver",
"@progress/kendo-licensing", "@progress/kendo-react-common" - they are its peerDependensies together with react itself. Having this in mind we need to also include these packages in order to have the @progress/kendo-react-pdf working correctly.

No answers yet. Maybe you can help?

Tags
PDF Processing
Asked by
Licensing
Top achievements
Rank 1
Share this question
or