Closed alankivi closed 6 years ago
Hello @alankivi, your issue has been closed because it does not conform to our issue requirements. Please use the Issue Helper to create an issue, thank you!
make sure your @angular/cdk
version is correct.
make sure your
@angular/cdk
version is correct.
@vthinkxie Hi, I am trying to upgrade to angular 7 and using @angular/cdk & @angular/material 7.2.0 version, but got this error when build with aot
I tried to import OverlayModule, change @angular/cdk & @angular/material to 7.3.1, but still not work.
Is there any walk around?
any help?
hi, I got a solution, if you use ng-zorro-antd, you can try it with the following versions:
"dependencies": {
"@angular/animations": "~7.0.0",
"@angular/common": "~7.0.0",
"@angular/compiler": "~7.0.0",
"@angular/core": "~7.0.0",
"@angular/forms": "~7.0.0",
"@angular/http": "~7.0.0",
"@angular/platform-browser": "~7.0.0",
"@angular/platform-browser-dynamic": "~7.0.0",
"@angular/router": "~7.0.0",
"core-js": "^2.6.3",
"ng-zorro-antd": "^7.0.3",
"zone.js": "~0.8.29"
},
"devDependencies": {
"@angular-devkit/build-angular": "0.12.3",
"@angular/cli": "~7.3.6",
"@angular/compiler-cli": "^7.2.9",
"@angular/language-service": "^7.2.9",
"@angularclass/hmr": "^2.1.3",
"@types/jasmine": "~3.3.12",
"@types/jasminewd2": "~2.0.6",
"@types/node": "~11.11.4",
"codelyzer": "~5.0.0-beta.1",
"jasmine-core": "~3.3.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.0.1",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.5",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.4.0",
"protractor": "~5.4.2",
"ts-node": "~8.0.3",
"tslint": "~5.14.0",
"typescript": "3.2.4"
}
i upgrade from v0.7 and If I run "ng build", the application works just fine. but when I run "ng build --aot" it will be happen below error:
it is my dependencies: