License imported successfully but still get 'No license found'.

1 Answer 1771 Views
Licensing
Sonya
Top achievements
Rank 1
Sonya asked on 23 Nov 2022, 02:27 PM | edited on 23 Nov 2022, 02:30 PM

I've added a kendo license to our CI service.

I've activated it locally and it I don't see the console logs telling me that I'm missing a license.

The build runs successfully and the logs show the following:

+ echo 'Activate Kendo UI License'

Activate Kendo UI License

+ npx kendo-ui-license activate

(INFO) Kendo UI: Reading license from KENDO_UI_LICENSE environment variable...

(INFO) Kendo UI: License imported successfully.

But when I run the app, I see this in the browser console:

License activation failed for @progress/kendo-react-charts
No license found.

Should there have been an activation success message after 'License imported successfully'?

1 Answer, 1 is accepted

Sort by
0
Filip
Telerik team
answered on 25 Nov 2022, 11:31 AM

Hello, Sonya,

I can recommend following the steps outlined in the Troubleshooting section of Licensing page:

https://www.telerik.com/kendo-react-ui/components/my-license/#toc-troubleshooting

1. Run rm -rf node_modules to remove all installed packages.
2. Delete the package-lock.json file
3. Make a new npm install and activation of the license.

Let me know if this resolves the issue.

Regards,
Filip
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Sarthak
Top achievements
Rank 1
commented on 17 Oct 2024, 01:53 PM

Hi, tried this approach still did not work.
Filip
Telerik team
commented on 18 Oct 2024, 12:36 PM

Hi, Sarthak,

I am sorry to hear that the provided troubleshooting steps did not resolve the warning. It is possible that the faced issue is due to a cache in the CI service, I can recommend clearing it (in case you haven't tried that already)

  • 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) that would be loading an older license.
  • Make sure that there isn't a referenced project that might be using the old license
  • Ensure that there isn''t any copy of kendo-licensing with the following command: 
npm ls @progress/kendo-licensing

In case the warning persists, can you please submit a separate ticket in our system (not as a forum post) and send us the package.json file as well as the used license? This will enable me to examine them and test locally. If possible can you also provide more details on the used CI service in the ticket?

Regards,
Filip
Tags
Licensing
Asked by
Sonya
Top achievements
Rank 1
Answers by
Filip
Telerik team
Share this question
or