License error - from 175241

Naveen Kumar Singh

Mar 8, 2024 1

i'm facing same issue regarding this import { registerLicense } from '@syncfusion/ej2-base'.

getting this error Module '"@syncfusion/ej2-base"' has no exported member 'registerLicense'.

i'm using syncfusion version

24.2.8

.Image_7073_1709914365527


1 Reply

MI Mohamed Imran Thamin Ansari Syncfusion Team March 13, 2024 01:53 PM UTC

Hi Naveen,

Thank you for getting back to us.

 

Upon reviewing your reported issue, we understand that you are still facing difficulties while registering the license in your application. Regarding this issue, please ensure that you are using the same major version for all Syncfusion components. Our Syncfusion licenses are version-specific, and if multiple major versions of our components are used in the same application, it can create version conflicts. Therefore, please make sure that you use the same version for all Syncfusion components.

 

Also, we want to convey that the license key validation was introduced starting with our 2022 Volume 1 release, which corresponds to versions beginning with (v20.1.XX). When you use a version under 20 (i.e., 19.X.XX), you don't need to register license. But when using version 24.X.XX, it is mandatory to register license key with the particular version (i.e., license key generated under 24.X.XX). 

 

Note: However, it's important to note that our ej2-base package is a sub-dependency of our component packages. When installing our component package, such as @syncfusion/ej2-angular-grids, the ej2-base package will be automatically installed alongside it. Therefore, it is important not to add ej2-base separately; our angular packages alone are sufficient. 

 

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 the npm cache file, which will be created inside the node_modules folder.

 

  • Update our packages to the same major version. For example, if you are using a version like (i.e., v24.2.X), use the same version for all the Syncfusion components in the package.json file.

 

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

 

Please refer to the below documentation and licensing FAQs.

 

Link:   Licensing FAQ's

 

If the issue still persists, kindly reach out to us.

 

Regards,

Mohamed Imran T




Loader.
Up arrow icon