Open Zajkra opened 5 years ago
We are getting 'error TS2451: Cannot redeclare block-scoped variable 'ngDevMode'.' with ng 7.0
Please refer #35
Hi,
I have the same problem and I am not able to fix it. My package is:
"dependencies": { "@agm/core": "1.0.0-beta.5", "@angular/animations": "7.2.7", "@angular/cdk": "7.3.3", "@angular/common": "7.2.7", "@angular/compiler": "7.2.7", "@angular/core": "7.2.7", "@angular/flex-layout": "7.0.0-beta.19", "@angular/forms": "7.2.7", "@angular/http": "7.2.7", "@angular/material": "7.3.3", "@angular/material-moment-adapter": "7.0.4", "@angular/platform-browser": "7.2.7", "@angular/platform-browser-dynamic": "7.2.7", "@angular/router": "7.2.7", "@ngrx/effects": "6.1.2", "@ngrx/router-store": "6.1.2", "@ngrx/store": "6.1.2", "@ngrx/store-devtools": "6.1.2", "@ngx-translate/core": "11.0.1", "@swimlane/dragula": "3.7.3", "@swimlane/ngx-charts": "10.0.0", "@swimlane/ngx-datatable": "14.0.0", "@swimlane/ngx-dnd": "6.0.0", "@types/prismjs": "1.9.0", "angular-calendar": "0.26.4", "angular-in-memory-web-api": "0.7.0", "chart.js": "2.7.3", "classlist.js": "1.1.20150312", "core-js": "2.5.7", "d3": "5.7.0", "date-fns": "1.29.0", "hammerjs": "2.0.8", "lodash": "4.17.11", "moment": "2.22.2", "ng2-charts": "1.6.0", "ngrx-store-freeze": "0.2.4", "ngx-bar-rating": "1.1.0", "ngx-color-picker": "7.0.2", "ngx-cookie-service": "2.0.0", "perfect-scrollbar": "1.4.0", "prismjs": "1.15.0", "rxjs": "6.3.3", "rxjs-compat": "6.3.3", "sass-loader": "7.1.0", "web-animations-js": "2.3.1", "zone.js": "0.8.26" }, "devDependencies": { "@angular/cli": "7.3.4", "@angular/compiler-cli": "7.2.7", "@angular/language-service": "7.2.7", "@angular-devkit/build-angular": "0.13.4", "@angularclass/hmr": "2.1.3", "@types/jasmine": "2.8.11", "@types/jasminewd2": "2.0.6", "@types/lodash": "4.14.118", "@types/node": "8.9.5", "codelyzer": "4.5.0", "jasmine-core": "2.99.1", "jasmine-spec-reporter": "4.2.1", "karma": "3.0.0", "karma-chrome-launcher": "2.2.0", "karma-coverage-istanbul-reporter": "2.0.4", "karma-jasmine": "1.1.2", "karma-jasmine-html-reporter": "0.2.2", "protractor": "5.4.1", "ts-node": "7.0.1", "tslint": "5.11.0", "typescript": "3.1.6", "webpack-bundle-analyzer": "3.0.3" } } any help?
In my case, It is working fine with Angular 7. Could you please provide the error what you getting.