We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

License Key

I am using Community License Key in my react project and now it throwing validation error message. Please help me ASAP.


1 Reply

TJ Theveshwar Jayakumar Syncfusion Team January 9, 2023 11:01 AM UTC

Hi Rajiv,

 

Greetings from Syncfusion support,

 

We suspect that the issue may occur due to the following reasons.

 

Reason 1:  Due to Duplicate packages installed in your application. Follow the below steps to resolve the issue.

 

  •  Delete the @Syncfusion folder from node_modules and the package-lock.json file from the root folder.

 

  •  Clear npm .cache file at your end.

 

  • Update our packages to the same major version. For example, if your utilizing version like (i.e. v20.4.XX) use the same version for all the Syncfusion components in the package.json file.

 

  •  Run the ‘’npm install” command to install the node_modules.

 

Reason 2:  If Syncfusion components are used with Cap Symbol (^) in the package.json file there is a possibility of license banner appearing ever after registering the license and this is one of the cases of license validation. So, we are suggesting you to use the Tilde (~) symbol instead of Cap (^) symbol to resolve this issue.

 

Kindly follow the below steps to resolve this issue

 

  •  Delete the @Syncfusion folder from node_modules and the package-lock.json file from the root folder.

 

  • Clear npm cache at your end.

 

  • Remove the cap (^) symbol before the version number and use the mentioned symbol Tilde (~) before the version number like ("@syncfusion/ej2-react-buttons": "~20.X.XX").

 

  •  Run the "npm install” command to install the packages.

 

If the issue still persists, kindly share the package.json file, so that we can provide a prompt solution.

 

Regards, 

Theveshwar


Loader.
Up arrow icon