npm 安装 Kendo-UI-Angular 2 returns 服务不可用
npm install of Kendo-UI-Angular 2 returns service unavailable
我访问了 kendo-UI 网站并为 angular 注册了 kendo-ui 的 30 天免费试用。按照 getting started guide 的说明,我尝试了 npm install --save @progress/kendo-angular-buttons @progress/kendo-angular-l10n @angular/animations
但没有向节点模块文件夹中添加任何内容。
经过一番挖掘后,我发现了 this post,其中提到您必须输入您的 telerik 凭据才能访问私有 npm 注册表。所以我遵循了这些说明和 运行 npm login --registry=https://registry.npm.telerik.com/ --scope=@progress
。
此时提示我使用用户名登录并登录。我在 上读到,用户名是 Telerik/Progress 登录的“@”符号之前的所有内容。
所以我尝试用这个作为我的用户名、我的 Telerik/Progress 电子邮件地址和密码登录。这给了我一个服务不可用的响应......
所有其他研究都发现了同样的信息。
我的 NPM 版本是 4.2.0。
我查看了 kendo-ui 文档,但没有找到任何内容。
那么,如何为演示安装 kendo-ui?
继续挖掘后,我在 kendo angular github 页面上找到了 this。
根据该讨论,这是错误的 npm login --registry=https://registry.npm.telerik.com/ --scope=@progress
,因为他们将注册表从 npm 移到了 npmjs
我将其更改为 npm login --registry=https://registry.npmjs.org --scope=@progress
输入我的用户名(Telerik/Progress 登录名“@”符号之前的所有内容)、密码和我收到的电子邮件地址
Logged in as jay.culpepper to scope @progress on https://registry.npmjs.org/.
。
然后当我 运行 npm install --save @progress/kendo-angular-buttons @progress/kendo-angular-l10
它起作用了。
从您的 %USERPROFILE%\.npmrc 文件中删除以下行。
@progress:registry=https://registry.npm.telerik.com/
//registry.npm.telerik.com/:_authToken=<token>
我访问了 kendo-UI 网站并为 angular 注册了 kendo-ui 的 30 天免费试用。按照 getting started guide 的说明,我尝试了 npm install --save @progress/kendo-angular-buttons @progress/kendo-angular-l10n @angular/animations
但没有向节点模块文件夹中添加任何内容。
经过一番挖掘后,我发现了 this post,其中提到您必须输入您的 telerik 凭据才能访问私有 npm 注册表。所以我遵循了这些说明和 运行 npm login --registry=https://registry.npm.telerik.com/ --scope=@progress
。
此时提示我使用用户名登录并登录。我在
所以我尝试用这个作为我的用户名、我的 Telerik/Progress 电子邮件地址和密码登录。这给了我一个服务不可用的响应......
所有其他研究都发现了同样的信息。
我的 NPM 版本是 4.2.0。
我查看了 kendo-ui 文档,但没有找到任何内容。
那么,如何为演示安装 kendo-ui?
继续挖掘后,我在 kendo angular github 页面上找到了 this。
根据该讨论,这是错误的 npm login --registry=https://registry.npm.telerik.com/ --scope=@progress
,因为他们将注册表从 npm 移到了 npmjs
我将其更改为 npm login --registry=https://registry.npmjs.org --scope=@progress
输入我的用户名(Telerik/Progress 登录名“@”符号之前的所有内容)、密码和我收到的电子邮件地址
Logged in as jay.culpepper to scope @progress on https://registry.npmjs.org/.
。
然后当我 运行 npm install --save @progress/kendo-angular-buttons @progress/kendo-angular-l10
它起作用了。
从您的 %USERPROFILE%\.npmrc 文件中删除以下行。
@progress:registry=https://registry.npm.telerik.com/
//registry.npm.telerik.com/:_authToken=<token>