hggeorgiev / ngx-image-editor

Awesome image editor for Angular 6
MIT License
72 stars 36 forks source link

Error in MatButtonModule is not an NgModule #21

Open abhishekpandeykr opened 5 years ago

abhishekpandeykr commented 5 years ago

my package.json is { "name": "cms", "version": "1.1.1", "license": "MIT", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@agm/core": "1.0.0-beta.1", "@angular/animations": "4.3.5", "@angular/cdk": "^2.0.0-beta.10", "@angular/common": "4.3.5", "@angular/compiler": "4.3.5", "@angular/core": "4.3.5", "@angular/flex-layout": "^2.0.0-beta.10", "@angular/forms": "4.3.5", "@angular/http": "4.3.5", "@angular/material": "^2.0.0-beta.10", "@angular/platform-browser": "4.3.5", "@angular/platform-browser-dynamic": "4.3.5", "@angular/router": "4.3.5", "@swimlane/ngx-charts": "6.1.0", "@swimlane/ngx-datatable": "9.3.1", "@swimlane/ngx-dnd": "3.1.0", "@types/jquery": "2.0.48", "angular-font-awesome": "2.0.3", "angular2-cool-storage": "3.1.0", "angular2-counto": "1.2.3", "angular2-drag-scroll": "1.3.7", "angular2-mentions": "0.6.0", "angular2-moment": "1.7.0", "angular2-websocket": "0.9.5", "bootstrap": "4.0.0-alpha.6", "core-js": "2.5.0", "cropperjs": "^1.0.0", "d3": "4.11.0", "font-awesome": "4.7.0", "graceful-fs": "4.1.11", "hammerjs": "2.0.8", "jquery": "2.2.4", "medium-editor": "5.23.2", "moment": "2.18.1", "ng-sidebar": "5.1.1", "ng2-dnd": "4.2.0", "ng2-file-upload": "1.2.1", "ng2-translate": "5.0.0", "ngx-bootstrap": "1.9.1", "ngx-chips": "1.5.3", "ngx-clipboard": "3.0.7", "ngx-image-editor": "^1.0.4", "ngx-infinite-scroll": "0.5.1", "ngx-malihu-scrollbar": "1.2.0", "rxjs": "^5.4.3", "rxjs-compat": "^6.3.3", "underscore": "1.8.3", "zone.js": "0.8.16" }, "devDependencies": { "@angular/cli": "1.3.1", "@angular/compiler-cli": "4.3.5", "@types/googlemaps": "^3.29.1", "@types/jasmine": "2.5.38", "@types/node": "6.0.88", "codelyzer": "2.0.1", "jasmine-core": "2.5.2", "jasmine-spec-reporter": "3.2.0", "karma": "1.4.1", "karma-chrome-launcher": "2.0.0", "karma-cli": "1.0.1", "karma-coverage-istanbul-reporter": "0.2.3", "karma-jasmine": "1.1.0", "karma-jasmine-html-reporter": "0.2.2", "protractor": "5.1.2", "ts-node": "2.0.0", "tsickle": "^0.28.0", "tslint": "4.5.1", "typescript": "2.4.0" } }

Whenever I am running ng s I m getting this issue Error in MatButtonModule is not an NgModule? Do I have to update to material 6 ?