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

React license not valid although having a community license

We wanted to use syncfusion for our startup and were in contact with the sales team, which they then referred to us to the community license. We agreed to use the community license, however when retrieving the license key we are getting the following message "The included Syncfusion license is invalid. Please refer to this help topic for more information". I already checked out the generate license key page, because we used the license key from the platform javascript to be implemented in the syncfusion-license.txt file. What else could be wrong? Did we not get the correct license key?


1 Reply 1 reply marked as answer

JS Jamuna Sundaram Syncfusion Team December 6, 2022 05:41 AM UTC

Hi Paul,


Greetings from Syncfusion support.


We have prepared a simple gantt sample using nextjs and registered your license key generated for version (v20.3.47) in the application. but were unable to replicate any license validation issue at our end. For your convenience, we have attached the working sample.


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/license-1845199582.zip

As a result, we suspect that this problem is caused by the.cache file in your application.If you follow the below steps to install the packages and try again registering the license key, the issue will be resolved.


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

2. Also, clear npm .cache if it is generated at your end.

3. Run the ‘’npm install" command to install the node_modules.

4. After installing the packages in node_modules run the license activation command "npx syncfusion-license activate "


Refer to the below documentation for registering the license key using the npx command:

https://ej2.syncfusion.com/react/documentation/licensing/license-key-registration/#register-the-license-key-with-the-license-file

If the issue persists, please share with us a reproducible sample.


Regards,

Jamuna Sundaram


Marked as answer
Loader.
Live Chat Icon For mobile
Up arrow icon