Starting from this week the Kendo UI for Angular packages will be published on npmjs.com to address the many concerns users were having with this distribution channel.
To switch to the default registry:
.npmrc file:```
@progress:registry=https://registry.npm.telerik.com/
//registry.npm.telerik.com/:_authToken=<token>
```
package-lock.json and node_modules from your project, reinstall packages.Please note that:
_Edit (13/03/2018): Add info for package-lock.json, formatting._
Installing Kendo UI for Angular packages from npmjs.com works, thank you.
But will it go on working as it is? I mean, packages are now available for free, openly. Is this the wanted behaviour or will there be future changes?
Packages are available without authentication, but the license still applies:
This is commercial software. To use it, you need to agree to the Telerik End User License Agreement for Kendo UI Complete. If you do not own a commercial license, this file shall be governed by the trial license terms.
All available Kendo UI commercial licenses may be obtained at http://www.telerik.com/purchase/kendo-ui.
Have questions:
1.If you asking to remove two lines containing 'registry.npm.telerik.com' from .npmrc file then do we still need to keep .npmrc in project ? Because .npmrc contains only those lines with _authToken.
2.What about _authToken ? do we need to remove that as well ?
3.Can you give some example how this will work without _authToken in team project ?
@Jaygholap if that's all .npmrc contains then go ahead and remove it entirely.
The packages will be accessible with the default npm settings and no auth token.
@Jaygholap is the a npm command how I can remove this from my global .npmrc file. Because we don't have any .npmrc in our project folders, it seems to be globaly stored for the current user.
Or where can I find this file on a windows 7 /10 pc
@squadwuschel it should be located at %USERPROFILE%\.npmrc
I had to setup the Progress NPM Registry in multiple corporate environments, which was not funny.
Many thanks for this great discussion!
:+1: :+1: :+1:
I have deleted the %USERPROFILE%\.npmrc file, and searched my machine for other instances, but still get the message saying to remove lines from my .npmrc file:
npm WARN deprecated @progress/[email protected]: The Progress NPM Registry has been retired in favor of npmjs.com. Please remove the two lines containing 'registry.npm.telerik.com' from your .npmrc file to start using the default registry. More details at https://goo.gl/rxe5Fd
I also tried rebooting, but am still getting the warning. Any idea why?
@danobri try running npm cache clean and remove your projects node_modules folder for good measure.
Cache clean did it - thanks!
I followed the steps above and cleaned .npmrc file. After cleaning the file, i used following command to install the grid but I got code 403 Forbidden error. Please note i am a licensed user.
npm install --save @progress/kendo-angular-grid @progress/kendo-angular-dropdowns @progress/kendo-angular-inputs @progress/kendo-angular-dateinputs @progress/kendo-data-query @progress/kendo-angular-intl @progress/kendo-angular-l10n @progress/kendo-drawing @progress/kendo-angular-excel-export @angular/animations
@yasiryc the public npm registry doesn't have authentication. It's likely that the npm cache or configuration is still pointing to the Progress registry.
Please run npm cache clean and remove the 'node_modules' folder from the project. If that fails, please open a support ticket and attach the npm-debug.log file for us to analyze.
@tsvetomir Thank you for the feedback. I followed the steps and still no luck. I have opened support ticket and attached the log as well.
One thing i noticed in the log that 403 error was returned on following fetch request
65 http fetch GET 403 https://registry.npm.telerik.com/@progress%2fkendo-angular-buttons/-/kendo-angular-buttons-0.23.0.tgz 244ms
66 silly fetchPackageMetaData error for @progress/kendo-angular-buttons@https://registry.npm.telerik.com/@progress%2fkendo-angular-buttons/-/kendo-angular-buttons-0.23.0.tgz 403 Forbidden: @progress/kendo-angular-buttons@https://registry.npm.telerik.com/@progress%2fkendo-angular-buttons/-/kendo-angular-buttons-0.23.0.tgz
@yasiryc,
You are still pointing to the retired Telerik repository. You need to be pointing to the standard npmjs repository, e.g:
https://registry.npmjs.org/@progress/kendo-angular-buttons/-/kendo-angular-buttons-0.23.0.tgz
Did you follow all the instructions and suggestions in the previous posts on this thread?
this is a very appreciated change, since it makes installing kendo in a CI environment much easier :+1:
will this also mean that Kendo UI Professional will become open source?
@niklas-dahl there are no plans for open sourcing the components at the moment.
Some packages, most notably the themes and kendo-intl are dual-licensed with a commercial and Apache 2.0 license.
In my case package-lock,json file still had reference cached to old repository. I removed it and "npm install" command worked without any issues
Be advised that the Progress NPM registry will be shut down by the end of January due to infrastructure reorganization. Installation of @progress/kendo-* packages will fail if you reference _registry.npm.telerik.com_ in _.npmrc_, _package-lock.json_ or _yarn.lock_ files.
Please, make sure that you have removed references to _registry.npm.telerik.com_ by following the steps outlined above.
@tsvetomir I have a Kendo UI complete license which got expired in Oct 2017. Can I download "KendoUI For Angular" packages and use them in my organization projects.?
@mohitgupta86 please open a support ticket for issues regarding licensing. Thanks!
Most helpful comment
Packages are available without authentication, but the license still applies:
License
This is commercial software. To use it, you need to agree to the Telerik End User License Agreement for Kendo UI Complete. If you do not own a commercial license, this file shall be governed by the trial license terms.
All available Kendo UI commercial licenses may be obtained at http://www.telerik.com/purchase/kendo-ui.