我已经使用kendo ui的alpha / beta组件进行角度2(CLI)至少3个月。下载每个组件的软件包没有问题。
就在昨天,下载kendo ui包失败了。我完全迷失了。我已经清除了npm / node缓存,重新安装的节点,我已经订阅并登录以再次进展。仍然没有成功。
调用npm install时从控制台收到的错误消息:
...
npm ERR! registry error parsing json
...
这是我的package.json
{
"name": "genesis-ui",
"version": "1.7.0",
"description": "Bootstrap 4 Admin Template",
"author": "",
"url": "https://genesisui.com",
"copyright": "Copyright 2017 creativeLabs Łukasz Holeczek",
"license": "MIT",
"angular-cli": {},
"scripts": {
"start": "ng serve",
"lint": "tslint \"src/**/*.ts\"",
"test": "ng test",
"pree2e": "webdriver-manager update",
"e2e": "protractor"
},
"private": true,
"dependencies": {
"@angular/common": "2.4.3",
"@angular/compiler": "2.4.3",
"@angular/core": "2.4.3",
"@angular/forms": "2.4.3",
"@angular/http": "2.4.3",
"@angular/material": "^2.0.0-beta.1",
"@angular/platform-browser": "2.4.3",
"@angular/platform-browser-dynamic": "2.4.3",
"@angular/router": "3.4.3",
"@angular/upgrade": "2.4.3",
"@progress/kendo-angular-buttons": "^0.18.1",
"@progress/kendo-angular-dateinputs": "^0.3.0",
"@progress/kendo-angular-dropdowns": "^0.27.8",
"@progress/kendo-angular-inputs": "^0.18.5",
"@progress/kendo-angular-intl": "^0.9.1",
"@progress/kendo-angular-layout": "^0.20.2",
"@progress/kendo-angular-sortable": "^0.8.0",
"@progress/kendo-angular-upload": "^0.13.1",
"@progress/kendo-theme-default": "^2.11.15",
"@types/lodash": "4.14.50",
"angular-calendar": "0.6.2",
"angular2-datatable": "0.5.2",
"angular2-google-maps": "^0.17.0",
"angular2-jwt": "^0.1.28",
"angular2-ladda": "^1.0.6",
"angular2-toaster": "2.0.0",
"chart.js": "^2.3.0",
"cldr-data": "^30.0.4",
"core-js": "^2.4.0",
"dragula": "^3.7.2",
"jquery": "^3.1.1",
"moment": "2.17.1",
"ng2-bootstrap": "^1.2.5",
"ng2-charts": "^1.5.0",
"ng2-ckeditor": "^1.1.6",
"ng2-dragula": "^1.3.0",
"ng2-select": "^1.2.0",
"primeng": "^2.0.1",
"rxjs": "5.0.3",
"ts-helpers": "^1.1.2",
"zone.js": "0.7.6"
},
"devDependencies": {
"@types/ckeditor": "0.0.37",
"@types/jasmine": "^2.5.41",
"@types/jquery": "^2.0.40",
"@types/quill": "0.0.29",
"@types/tinymce": "^4.5.0",
"angular-cli": "1.0.0-beta.25.5",
"codelyzer": "2.0.0-beta.4",
"jasmine-core": "^2.5.2",
"jasmine-spec-reporter": "3.2.0",
"karma": "1.4.0",
"karma-chrome-launcher": "^2.0.0",
"karma-jasmine": "^1.1.0",
"karma-remap-istanbul": "^0.4.0",
"protractor": "5.0.0",
"ts-node": "2.0.0",
"tslint": "4.3.1",
"typescript": "2.1.5"
}
}
这是我的.npmrc文件:
@progress:registry=https://registry.npm.telerik.com/
//registry.npm.telerik.com/:_authToken=D[NINJA CONTENT]EPI/AcK[NINJA CONTENT]
关于如何再次提供kendo ui包下载的任何想法?
P.S。下载不是Progress / kendo ui的软件包在下载时没有问题。是的,我已经登录了cmd
npm login --registry=https://registry.npm.telerik.com/ --scope=@progress