Syncfusion grid not supporting with Angular CLI 14

Hello Syncfusion Team,

I am trying to use the syncfusion grid with the angular CLI 14 version and getting the error.

Attaching screenshot for your reference.




1 Reply

RR Rajapandi Ravi Syncfusion Team August 24, 2022 01:32 PM UTC

Hi Harish,


Greetings from Syncfusion support


Your reported problem “str.match is not a function” occurs only if duplicate packages are installed in ‘@syncfusion’ folder of ‘node_modules’ in your application. So please follow the steps provided below and documentation to resolve this,


  • Delete package.lock.json file from your application.  
  • Remove the @syncfusion package folder from the node_modules.
  • Use same version or “*”(Installs the latest packages) for all Syncfusion components in package.json file.  
  • Then install the NPM packages.  


Documentation: https://ej2.syncfusion.com/angular/documentation/common/how-to/update-npm-package/

          

Package.json

 

"dependencies": {

    "@syncfusion/ej2-angular-grids": "*",

    "@syncfusion/ej2-base": "*",

    "@syncfusion/ej2-data": "*",

     .  .  .  .  .  .  .  .

     .  .  .  .  .  .  .  .

  }

 

 


Local Angular 14 Grid sample with latest packages for your reference,


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/sample769483036.zip


Please get back to us if you require any further assistance.


Regards,

Rajapandi R


Loader.
Up arrow icon