Open Closed

Abp upgrade issue #4657


User avatar
0
Thiqah.Abp.Dev4 created

when upgrade angular v11 to v12 this error exist

"dependencies": { "@abp/ng.components": "~4.1.0", "@abp/ng.core": "~4.1.0", "@abp/ng.setting-management": "~4.1.0", "@abp/ng.theme.shared": "~4.1.0", "@angular/animations": "~12.2.17", "@angular/common": "~12.2.17", "@angular/compiler": "~12.2.17", "@angular/core": "~12.2.17", "@angular/forms": "~12.2.17", "@angular/platform-browser": "~12.2.17", "@angular/platform-browser-dynamic": "~12.2.17", "@angular/router": "~12.2.17", "@elastic/apm-rum-angular": "^2.1.1", "@ng-bootstrap/ng-bootstrap": "^7.0.0", "@techiediaries/ngx-qrcode": "^9.1.0", "@thiqah/ds-moc": "^1.0.5", "@volo/abp.commercial.ng.ui": "~4.1.0", "@volo/abp.ng.account": "~4.1.0", "@volo/abp.ng.audit-logging": "~4.1.0", "@volo/abp.ng.identity": "~4.1.0", "@volo/abp.ng.identity-server": "~4.1.0", "@volo/abp.ng.language-management": "~4.1.0", "@volo/abp.ng.saas": "^4.2.1", "@volo/abp.ng.text-template-management": "~4.1.0", "@volo/abp.ng.theme.lepton": "~4.1.0", "ng-recaptcha": "^8.0.1", "@swimlane/ngx-charts": "^17.0.1", "@swimlane/ngx-datatable": "^17.1.0", "rxjs": "~6.6.0", "tslib": "^2.0.0", "zone.js": "~0.11.4" }, "devDependencies": { "@abp/ng.schematics": "~4.1.0", "@angular-devkit/build-angular": "~12.2.18", "@angular/cli": "~12.2.18", "@angular/compiler-cli": "~12.2.17", "@angular/language-service": "~12.2.17", "@types/jasmine": "~3.5.0", "@types/jasminewd2": "~2.0.3", "@types/node": "^12.11.1", "codelyzer": "^6.0.1", "jasmine-core": "~3.6.0", "jasmine-spec-reporter": "~5.0.0", "karma": "~6.4.1", "karma-chrome-launcher": "~3.1.0", "karma-coverage-istanbul-reporter": "~3.0.2", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.5.0", "ng-packagr": "^12.2.7", "protractor": "~7.0.0", "ts-node": "~8.3.0", "tslint": "~6.1.0", "typescript": "~4.3.5" }


1 Answer(s)
  • User Avatar
    0
    mahmut.gundogdu created

    I have created an abp app (v4.1.2) then I have updated angular 12. There is no issue. ng update @angular/core@12 @angular/cli@12

    CORE_OPTION and the another providers defined in CoreModule.forRoot()

    Could you check the your app.module.ts. The app module must has the code like

        CoreModule.forRoot({
          environment,
          registerLocaleFn: registerLocale(),
        }),
    

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38