I'm having a similar issue to https://www.telerik.com/forums/license-activation-failed-for-react-project
For my deployed app, I'm getting this error in the console:
License activation failed for @progress/kendo-react-intl No license found. See https://www.telerik.com/kendo-react-ui/components/my-license/ for more information.
I've tried to fix it by doing:
- remove node_modules and package.lock.json
- Make a new npm install and activation
but this hasn't fixed the issue. I don't see the warning locally, only after it has been deployed. I have the following in my azure pipeline:
stages: - stage: Test displayName: Test jobs: - job: Test displayName: Perform tests steps: - task: NodeTool@0 inputs: versionSpec: '18.x' displayName: 'Install Node.js' - script: | npm ci displayName: 'Install dependencies' ... - script: | npx kendo-ui-license activate displayName: "Activate Kendo UI License" - script: | npm run build displayName: 'Build'
and can see the activation working when running the pipeline:
(INFO) Kendo UI: KENDO_UI_LICENSE environment variable not set (INFO) Kendo UI: Reading license from "/agent/_work/2/s/kendo-ui-license.txt"... (INFO) Kendo UI: License imported successfully.
Also tried adding it to our Dockerfile, but still getting the same warning: