Kendo license activation error

0 Answers 2225 Views
Licensing
Shane
Top achievements
Rank 2
Iron
Iron
Iron
Shane asked on 12 Dec 2022, 05:35 PM

I have a problem similar to this:

https://www.telerik.com/forums/license-activation-failed-for-react-project

i deleted node modules, package-lock and did npm cache clean -f. After reinstall I still get 

I get this in localhost as well as our production environments. I see it worked in npm install

> @progress/kendo-licensing@1.2.2 postinstall C:\Development\CanvasCoreServices\EY.Kronos\EY.Kronos.Web\node_modules\@progress\kendo-licensing
> node ./bin/kendo-ui-license.js activate --ignore-no-license

(INFO) Kendo UI: KENDO_UI_LICENSE environment variable not set
(INFO) Kendo UI: Reading license from "C:\Development\CanvasCoreServices\EY.Kronos\EY.Kronos.Web\kendo-ui-license.txt"...
(INFO) Kendo UI: License imported successfully.

Any idea what I am doing wrong?

 

 

Wissam
Telerik team
commented on 13 Dec 2022, 12:38 PM

Hi, Shane,

Thank you for the provided information.

It is possible that you are using updated KendoReact components without regenerating your license file. Each licensing file contains information about the validity of the license for the current version, making it valid for previous versions as well.

In order to have the new valid license information included in the licensing file, you will need to regenerate the `kendo-ui-license.txt` file and activate it again. You can do it by following the steps below:

  • Download your license key from the following link (you have to be logged in to your Telerik account in order to see the "kendo-ui-license.txt" button): https://www.telerik.com/kendo-react-ui/components/my-license/#toc-download-your-license-key
  • Copy the license key file (kendo-ui-license.txt) to the root folder of your application
  • Delete the `node_modules` folder and the `package-lock.json` file
  • Run npm install
  • Run npm install --save @progress/kendo-licensing
  • Run npx kendo-ui-license activate

If this does not remove the warning, could you please send me your package.json file and license key so that I can look for the problem on my end?

Regards,
Wissam
Progress Telerik
Shane
Top achievements
Rank 2
Iron
Iron
Iron
commented on 13 Dec 2022, 04:17 PM

still failing for me. I am uploading my package.json and license.

 

Shane
Top achievements
Rank 2
Iron
Iron
Iron
commented on 14 Dec 2022, 09:04 PM

i remembered that  

"@ey/canvascoreservices": "1.0.671762",

 also has kendo in it so i updated the license there and rebuilt and imported that new version into my application here but still no go. they both have the same key but I'm still getting the above error. 

And I will be changing the license key in a few days too.

Wissam
Telerik team
commented on 15 Dec 2022, 11:08 AM

Hello, Shane,

I tested the license key and it worked without any warnings on my side, which means that the license key is valid. I am sending the project where I tested it as an attachment.

Could you please perform the following steps and get back to us with an update:

  • Check whether there are any errors/warnings thrown when you execute the `npx kendo-ui-license activate` command
  • Search whether there is any copy of kendo-licensing using `npm ls @progress/kendo-licensing`
  • Make a global search and check whether there is a copy of the KENDO_UI_LICENSE (e.g., it could be set in the System Environment variables as well)
  • Check for any specifics of the build. For example, if there are components, which are built elsewhere, but are referenced directly in the project (their license must be updated separately where this application is located)

Thanks in advance for your cooperation.

Regards,
Wissam
Progress Telerik

No answers yet. Maybe you can help?

Tags
Licensing
Asked by
Shane
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or