Kendo Angular 使用 npm 安装时出现网格问题
Kendo Angular Grid Issue while installing using npm
我愿意为我的 Angular 5.2
申请使用 kendo-angular-grid
。根据 Kendo 的更新日志,它的最新版本是 2.0.0
。但是当我使用命令 npm install --save @progress/kendo-angular-grid
安装包时,正在安装 1.2.1
的旧版本。
我也尝试通过指定版本来安装软件包 -
npm install --save @progress/kendo-angular-grid@2.0.0
但是显示如下错误
No matching version found for @progress/kendo-angular-grid@2.0.0
我的package.json
如下-
{
"name": "demo",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build --prod",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular-devkit/core": "0.0.29",
"@angular/animations": "^5.0.0",
"@angular/common": "^5.0.0",
"@angular/compiler": "^5.0.0",
"@angular/core": "^5.0.0",
"@angular/forms": "^5.0.0",
"@angular/http": "^5.0.0",
"@angular/platform-browser": "^5.0.0",
"@angular/platform-browser-dynamic": "^5.0.0",
"@angular/router": "^5.0.0",
"@progress/kendo-angular-grid": "^1.2.1",
"core-js": "^2.4.1",
"npm": "^5.6.0",
"rxjs": "^5.5.2",
"zone.js": "^0.8.14"
},
"devDependencies": {
"@angular/cli": "1.6.6",
"@angular/compiler-cli": "^5.0.0",
"@angular/language-service": "^5.0.0",
"@types/jasmine": "~2.8.6",
"@types/jasminewd2": "~2.0.2",
"@types/node": "~9.4.0",
"codelyzer": "^4.0.1",
"jasmine-core": "~2.9.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~2.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.2.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.3.0",
"ts-node": "~4.1.0",
"tslint": "~5.9.1",
"typescript": "2.6.2"
}
}
此外,我还有 npm version 5.6
我已经将node版本更新到最新,并重新安装了npm。它开始正常工作。不知道是什么原因导致了这个问题。
我愿意为我的 Angular 5.2
申请使用 kendo-angular-grid
。根据 Kendo 的更新日志,它的最新版本是 2.0.0
。但是当我使用命令 npm install --save @progress/kendo-angular-grid
安装包时,正在安装 1.2.1
的旧版本。
我也尝试通过指定版本来安装软件包 -
npm install --save @progress/kendo-angular-grid@2.0.0
但是显示如下错误
No matching version found for @progress/kendo-angular-grid@2.0.0
我的package.json
如下-
{
"name": "demo",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build --prod",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular-devkit/core": "0.0.29",
"@angular/animations": "^5.0.0",
"@angular/common": "^5.0.0",
"@angular/compiler": "^5.0.0",
"@angular/core": "^5.0.0",
"@angular/forms": "^5.0.0",
"@angular/http": "^5.0.0",
"@angular/platform-browser": "^5.0.0",
"@angular/platform-browser-dynamic": "^5.0.0",
"@angular/router": "^5.0.0",
"@progress/kendo-angular-grid": "^1.2.1",
"core-js": "^2.4.1",
"npm": "^5.6.0",
"rxjs": "^5.5.2",
"zone.js": "^0.8.14"
},
"devDependencies": {
"@angular/cli": "1.6.6",
"@angular/compiler-cli": "^5.0.0",
"@angular/language-service": "^5.0.0",
"@types/jasmine": "~2.8.6",
"@types/jasminewd2": "~2.0.2",
"@types/node": "~9.4.0",
"codelyzer": "^4.0.1",
"jasmine-core": "~2.9.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~2.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.2.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.3.0",
"ts-node": "~4.1.0",
"tslint": "~5.9.1",
"typescript": "2.6.2"
}
}
此外,我还有 npm version 5.6
我已经将node版本更新到最新,并重新安装了npm。它开始正常工作。不知道是什么原因导致了这个问题。