katafractari / ngx-combo-datepicker

Angular 4+ Combo Datepicker
https://katafractari.gitbooks.io/ngx-combo-datepicker/
MIT License
7 stars 8 forks source link

Version mismatch #5

Open fshahin90 opened 6 years ago

fshahin90 commented 6 years ago

Hi all: When I installed the component and tried to run the program I got this error: ERROR in Metadata version mismatch for module /home/user/Desktop/Projects/E_App/E_App/node_modules/ngx-combo-datepicker/node_modules/@angular/core/core.d.ts, found version 4, expected 3, resolving symbol ComboDatepickerModule in /home/user/Desktop/Projects/E_App/E_App/node_modules/ngx-combo-datepicker/ngx-combo-datepicker.d.ts, resolving symbol ComboDatepickerModule in /home/user/Desktop/Projects/E_App/E_App/node_modules/ngx-combo-datepicker/ngx-combo-datepicker.d.ts

my project json is:

`{ "name": "newtims", "version": "0.0.0", "license": "MIT", "scripts": { "ng": "ng", "start": "ng serve --port 4200", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" },

"private": true, "dependencies": { "@angular/animations": "^4.0.0", "@angular/common": "^4.0.0", "@angular/compiler": "^4.0.0", "@angular/core": "^4.0.0", "@angular/forms": "^4.0.0", "@angular/http": "^4.0.0", "@angular/platform-browser": "^4.0.0", "@angular/platform-browser-dynamic": "^4.0.0", "@angular/router": "^4.0.0", "@types/jquery": "^3.2.16", "angular2-flash-messages": "^1.0.8", "angular2-moment": "^1.8.0", "core-js": "^2.4.1", "ng-recaptcha": "^3.0.5", "ng2-breadcrumb": "^0.5.14", "ng2-file-required": "^1.0.10", "ng2-file-upload": "^1.2.1", "ng2-utils": "^0.6.1", "ngx-bootstrap": "^2.0.0-beta.8", "ngx-combo-datepicker": "0.0.5", "ngx-mydatepicker": "^2.1.5", "rxjs": "^5.4.1", "sweetalert2": "~7.1.3", "typescript-string-enums": "^0.3.5", "zone.js": "^0.8.14" }, "devDependencies": { "@angular/cli": "1.2.4", "@angular/compiler-cli": "^4.0.0", "@angular/language-service": "^4.0.0", "@types/jasmine": "~2.5.53", "@types/jasminewd2": "~2.0.2", "@types/node": "~6.0.60", "bootstrap": "^3.3.7", "codelyzer": "~3.0.1", "jasmine-core": "~2.6.2", "jasmine-spec-reporter": "~4.1.0", "jquery": "^3.2.1", "karma": "~1.7.0", "karma-chrome-launcher": "~2.1.1", "karma-cli": "~1.0.1", "karma-coverage-istanbul-reporter": "^1.2.1", "karma-jasmine": "~1.1.0", "karma-jasmine-html-reporter": "^0.2.2", "ng2-pagination": "^2.0.2", "protractor": "~5.1.2", "ts-node": "~3.0.4", "tslint": "~5.3.2", "typescript": "~2.3.3", "oidc-client": "1.2.2", "babel-polyfill": "6.23.0", "angular-dual-listbox": "^4.6.2", "angular2-multiselect-dropdown": "^2.5.0", "angular-2-dropdown-multiselect": "^1.6.3" } }`

the component json is: { "_from": "ngx-combo-datepicker", "_id": "ngx-combo-datepicker@0.0.5", "_inBundle": false, "_integrity": "sha512-ETqqK/EY8hZl4SJKquPd6RqFgcdt4O7oBpVT6MZUHr1rrmCRq51ni0yG/pJv5j9MQZiQLSj9iov7qHaohOiJ9g==", "_location": "/ngx-combo-datepicker", "_phantomChildren": { "tslib": "1.8.0" }, "_requested": { "type": "tag", "registry": true, "raw": "ngx-combo-datepicker", "name": "ngx-combo-datepicker", "escapedName": "ngx-combo-datepicker", "rawSpec": "", "saveSpec": null, "fetchSpec": "latest" }, "_requiredBy": [ "#USER", "/" ], "_resolved": "https://registry.npmjs.org/ngx-combo-datepicker/-/ngx-combo-datepicker-0.0.5.tgz", "_shasum": "202674cc4f73360b350bc251927ce078c3d7f783", "_spec": "ngx-combo-datepicker", "_where": "/home/user/Desktop/Projects/ERec_App/ERec_App", "bugs": { "url": "https://github.com/katafractari/ngx-combo-datepicker/issues" }, "bundleDependencies": false, "dependencies": { "@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", "core-js": "^2.4.1", "rxjs": "^5.4.1", "zone.js": "^0.8.14" }, "deprecated": false, "description": "Angular 4+ Combo Datepicker", "devDependencies": { "@angular/cli": "^1.5.4", "@angular/compiler-cli": "^5.0.0", "@angular/language-service": "^5.0.0", "@types/jasmine": "~2.5.53", "@types/jasminewd2": "~2.0.2", "@types/node": "~6.0.60", "codelyzer": "~3.2.0", "jasmine-core": "~2.6.2", "jasmine-spec-reporter": "~4.1.0", "karma": "~1.7.0", "karma-chrome-launcher": "~2.1.1", "karma-cli": "~1.0.1", "karma-coverage-istanbul-reporter": "^1.2.1", "karma-jasmine": "~1.1.0", "karma-jasmine-html-reporter": "^0.2.2", "ng-packagr": "^1.6.0", "protractor": "~5.1.2", "ssri": "^6.0.0", "ts-node": "~3.2.0", "tslint": "~5.7.0", "typescript": "~2.4.2" }, "es2015": "ngx-combo-datepicker.js", "homepage": "https://github.com/katafractari/ngx-combo-datepicker#readme", "license": "MIT", "main": "bundles/ngx-combo-datepicker.umd.js", "metadata": "ngx-combo-datepicker.metadata.json", "module": "ngx-combo-datepicker.es5.js", "name": "ngx-combo-datepicker", "private": false, "repository": { "type": "git", "url": "git+https://github.com/katafractari/ngx-combo-datepicker.git" }, "scripts": { "build": "ng build", "e2e": "ng e2e", "lint": "ng lint", "ng": "ng", "packagr": "ng-packagr -p ng-package.json", "start": "ng serve", "test": "ng test" }, "typings": "ngx-combo-datepicker.d.ts", "version": "0.0.5" }

katafractari commented 6 years ago

Are you able to upgrade Angular to at least 4.3.1?