BoldDesk®Customer service software offering ticketing, live chat, and omnichannel support, starting at $49/mo. for 10 agents. Try it for free.
Hello, i'm using several components such treegrid, file manager and pdf viewer in release 27.2.5.
All works fine except pdf viewer after building production release of my project.
I'm using Vite. Js to build chunks files. When i try to load React pdf viewer component, i got an error like 's in not a function.... '.
I think it's a problem of Vite config.
Could you help me please.
Thanks and Best Regards
Hi Régis BOURGEOIS,
Thank you for
reaching out to us. There was an issue with the Syncfusion package version
V27.2.5 in the Vite.js environment, but it has been fixed in version V28.1.41.
Please update to the latest package version to resolve this issue.
We have provided the
release details and a sample for your reference. Kindly check the sample and
confirm if you are still experiencing any issues. If the issue persists, please
provide a modified sample or a demo video of the problem so we can replicate it
and provide a solution.
Sample
with vite configuration
Release
notes with vite issue fix
Regards,
Sathiyaseelan K
Hello, thanks for your reply. Today I'm using à free licence and m'y key was générale for release 27.Can i have à New licence key for r28 ?
Best Regards
Hello, I updated the ej2 react pdfviewer and other components to release 28.x.x (latest). Still have the same issue : 's in not a function...'
Hi Régis BOURGEOIS,
Thank you for the
update. Please confirm whether the issue occurred with the sample we provided.
If the issue is specific to your project, kindly modify the sample and share it
along with the steps to reproduce the issue. This will help us replicate the problem
and provide an appropriate solution.
Sample with vite configuration
Regards,
Sathiyaseelan K