2017-12-03 10 views
1

これは私のpackage.jsonです モジュールCのメタデータバージョンの不一致:/ Developement/AspnetBoilerplate/EV-2017/src/angular/node_modules/datatables/index.d.ts、バージョン4、予期されたもの3、C:/Developement/AspnetBoilerplate/EV-2017/src/angular/src/app/admin/admin.module.tsのAdminModuleの解決、AdminModuleの解決C:/Developement/AspnetBoilerplate/EV-2017/src/angular/src/app/admin/admin.module.ts モジュールのメタデータバージョンの不一致、バージョン4が見つかった、予想される3、解決シンボルAdminModule

{ 
 
    "name": "tickets-online", 
 
    "version": "4.0.0", 
 
    "license": "MIT", 
 
    "angular-cli": {}, 
 
    "scripts": { 
 
    "ng": "ng", 
 
    "start": "ng serve --host 0.0.0.0 --port 4200", 
 
    "hmr": "ng serve --host 0.0.0.0 --port 4200 4201 --hmr -e=hmr", 
 
    "test": "ng test", 
 
    "pree2e": "webdriver-manager update --standalone false --gecko false", 
 
    "e2e": "protractor" 
 
    }, 
 
    "private": true, 
 
    "dependencies": { 
 
    "@angular/animations": "^4.4.2", 
 
    "@angular/common": "^4.4.2", 
 
    "@angular/compiler": "^4.4.2", 
 
    "@angular/core": "^4.4.2", 
 
    "@angular/forms": "^4.4.2", 
 
    "@angular/http": "^4.4.2", 
 
    "@angular/platform-browser": "^4.4.2", 
 
    "@angular/platform-browser-dynamic": "^4.4.2", 
 
    "@angular/router": "^4.4.2", 
 
    "abp-ng2-module": "^1.2.0", 
 
    "abp-web-resources": "^2.2.1", 
 
    "angular-datatables": "^5.0.0", 
 
    "angular-select2-component": "^1.0.4", 
 
    "angular2-counto": "^1.2.3", 
 
    "block-ui": "^2.70.1", 
 
    "bootstrap": "^3.3.7", 
 
    "bootstrap-daterangepicker": "^2.1.25", 
 
    "bootstrap-select": "^1.12.2", 
 
    "bootstrap-switch": "^3.3.4", 
 
    "codelyzer": "^3.2.1", 
 
    "core-js": "^2.4.1", 
 
    "datamaps": "^0.5.8", 
 
    "datatables.net": "^1.10.16", 
 
    "datatables.net-dt": "^1.10.16", 
 
    "eonasdan-bootstrap-datetimepicker": "^4.17.47", 
 
    "famfamfam-flags": "^1.0.0", 
 
    "flot": "^0.8.0-alpha", 
 
    "font-awesome": "^4.7.0", 
 
    "heimdalljs-logger": "^0.1.9", 
 
    "jasmine-spec-reporter": "^3.3.0", 
 
    "jquery": "^3.2.1", 
 
    "jquery-migrate": "^3.0.0", 
 
    "jquery-slimscroll": "^1.3.8", 
 
    "jquery-sparkline": "^2.4.0", 
 
    "jquery.flot.tooltip": "^0.9.0", 
 
    "jquery.inputmask": "^3.3.4", 
 
    "jquery.uniform": "^4.2.0", 
 
    "jqueryui": "^1.11.1", 
 
    "js-cookie": "^2.1.4", 
 
    "jstree": "^3.3.4", 
 
    "karma": "^1.6.0", 
 
    "localforage": "^1.5.0", 
 
    "lodash": "^4.17.4", 
 
    "moment": "^2.18.1", 
 
    "moment-timezone": "^0.5.13", 
 
    "morris.js": "^0.5.0", 
 
    "ng-recaptcha": "^3.0.0", 
 
    "ng2-file-upload": "^1.2.1", 
 
    "ng2modules-easypiechart": "^0.0.4", 
 
    "ng2modules-flot": "^0.0.1", 
 
    "ngx-bootstrap": "^1.9.3", 
 
    "ngx-datatable": "^1.0.3", 
 
    "primeng": "4.2.1", 
 
    "push.js": "1.0.4", 
 
    "quill": "^1.3.0", 
 
    "raphael": "^2.2.7", 
 
    "rtl-detect": "^1.0.0", 
 
    "rxjs": "^5.4.2", 
 
    "signalr": "^2.2.1", 
 
    "simple-line-icons": "^2.4.1", 
 
    "spin.js": "^2.3.2", 
 
    "sweetalert": "^1.1.3", 
 
    "tether": "^1.4.0", 
 
    "timeago": "^1.6.1", 
 
    "toastr": "^2.1.2", 
 
    "ts-helpers": "^1.1.2", 
 
    "ts-node": "~3.3.0", 
 
    "typescript": "2.3.4", 
 
    "waypoints": "^4.0.1", 
 
    "zone.js": "0.8.17" 
 
    }, 
 
    "devDependencies": { 
 
    "@angular/cli": "^1.4.2", 
 
    "@angular/compiler-cli": "^4.4.2", 
 
    "@angularclass/hmr": "^2.1.3", 
 
    "@angularclass/hmr-loader": "^3.0.4", 
 
    "@types/bootstrap": "^3.3.33", 
 
    "@types/datatables.net": "^1.10.7", 
 
    "@types/grecaptcha": "^2.0.31", 
 
    "@types/jasmine": "~2.5.53", 
 
    "@types/jasminewd2": "~2.0.2", 
 
    "@types/jquery": "^3.2.16", 
 
    "@types/jquery.blockui": "0.0.28", 
 
    "@types/jstree": "^3.3.34", 
 
    "@types/lodash": "^4.14.62", 
 
    "@types/moment": "^2.13.0", 
 
    "@types/moment-timezone": "^0.2.34", 
 
    "@types/morris.js": "^0.5.6", 
 
    "@types/node": "^8.0.27", 
 
    "@types/signalr": "^2.2.33", 
 
    "@types/tether": "^1.4.2", 
 
    "@types/toastr": "^2.1.33", 
 
    "codelyzer": "~3.2.1", 
 
    "jasmine-core": "~2.8.0", 
 
    "jasmine-spec-reporter": "~4.2.1", 
 
    "karma": "~1.7.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", 
 
    "nswag": "11.6.1", 
 
    "protractor": "~5.1.2", 
 
    "ts-node": "~3.3.0", 
 
    "tslint": "~5.7.0", 
 
    "typescript": "2.3.4" 
 
    } 
 
}

答えて

0

あなたは@ angular4 +に残っている場合は、あなたが必要となります前の角度-のDataTableパッケージのバージョン:

https://github.com/l-lin/angular-datatables/tree/v4.4.1

npm install [email protected] 

また、あなたがこんにちは

+0

angular5 @にアップグレードすることができ、私はプロジェクトのために、問題に実行しています。私はAngular 4を使用していますが、材料には2.0.0-beta.10のmd接頭辞を使用しています。プロジェクトの要件から、私はマットに更新する必要があると言われています。だから私は接頭辞ツールを走らせて、それは自動的に材料5のバージョンに私を連れて行きます。このタイプの不一致エラーがあります。最後に、私の質問は、ミスマッチエラーを避けるために角度4のバージョンで角度5ではなくマットバージョンを使用できます。 ありがとうございます。 – Kaushik27

関連する問題