Hi, I am updating the pdfViewer driver as I need to be able to view digital signatures and I see that this is a functionality that was added in version 20.4.49. The problem is that when I upgrade to version 20 I get the following errors:
ERROR in /node_modules/@syncfusion/ej2-angular-pdfviewer/fesm2015/syncfusion-ej2-angular-pdfviewer.mjs 185:26-48
Can't import the named export 'ɵɵngDeclareNgModule' from non EcmaScript module (only default export is available)
I get more, but they are all the same style. I'm with a version of angular 9, but I've seen that in your documentation they would be compatible.
I put the dependencies versions of the other dependencies in case it can influence and the configuration of ts
Package.json
Can you help me?
Hi Alberto,
Please refer to the
documentation below for compatible Angular versions with Syncfusion Angular
components.
https://ej2.syncfusion.com/angular/documentation/system-requirement#angular-supported-versions
Note: If you are using PDF Viewer version 20.4.49, you need to use Angular version 15.
But according to what you tell me, angular 9 is compatible with 17.4.51 and above... Without going any further, I have the grid in a version 19 installed that according to your criteria should work in angular 13...
Hi Alberto,
We recommend using angular version 15. Did you face any issue in this angular version.
Ahora mismo no puedo permitirme una actualización a angular 15, es una aplicación en producción y genera muchas otras incompatibilidades con otras dependencias, solo necesitaba actualizar la versión del visor de pdf.
Hi Alberto,
For Angular version
below 12, you need to use the ngcc tagged packages of the Syncfusion
Angular components. To install the package use the below command,
Add @syncfusion/ej2-angular-grids@ngcc package to the application.
|
@syncfusion/ej2-angular-pdfviewer:"20.4.49-ngcc" |
Documentation: https://ej2.syncfusion.com/angular/documentation/installation-and-upgrade/installation#angular-compatibility-compiled-package-ngcc
Additionally, please
use the same package version for all Syncfusion Angular components.
Kindly try this and If you have any concerns, please share the sample in which you are facing the issue. This will be helpful for us to analyze further and provide the details.