Build Issue - version 15 in Github Action
kajanthan19 opened this issue · 4 comments
Recently I got failed my code build from GitHub action. But the Application build is perfectly working fine in local env
"dependencies":
"@angular/animations": "^15.0.4",
"@angular/cdk": "^15.0.3",
"@angular/common": "^15.0.4",
"@angular/compiler": "^15.0.4",
"@angular/core": "^15.0.4",
"@angular/forms": "^15.0.4",
"@angular/language-service": "^15.0.4",
"@angular/platform-browser": "^15.0.4",
"@angular/platform-browser-dynamic": "^15.0.4",
"@angular/router": "^15.0.4",
"@auth0/angular-jwt": "^5.0.2",
"@coreui/angular": "^4.0.0",
"@coreui/angular-chartjs": "^2.0.0",
"@coreui/chartjs": "^3.0.0",
"@coreui/coreui": "~4.1.3",
"@coreui/icons": "^2.1.0",
"@coreui/icons-angular": "^3.0.0",
"@coreui/utils": "^1.3.1",
- Github Action build issue
do I need to upgrade the CoreUI or make it older version
for Angular 15:
"@coreui/angular": "~4.4.9",
"@coreui/angular-chartjs": "~4.4.7",
"@coreui/icons-angular": "~4.4.7",Important:
it is ~ (tilde) sign, not ^ (caret) sign.
other updates
"@coreui/coreui": "~4.2.6",
"@coreui/chartjs": "^3.1.1",
"@coreui/icons": "^3.0.1",
"@coreui/utils": "^2.0.1",imports update required for @coreui/utils v2
- from
import {getStyle, ...} from '@coreui/utils/src - to
import {getStyle, ...} from '@coreui/utils
@xidedix Thank you for your update.
Unfortunately, we have removed the coreui from the solution.
Same issue at myside also, do i have to update to coreui 4? it is working fine if i build same project locally...
Current Packages:
dependencies: {
"@agm/core": "^1.1.0",
"@angular/animations": "^15.1.1",
"@angular/cdk": "^12.0.5",
"@angular/common": "^15.1.1",
"@angular/compiler": "^15.1.1",
"@angular/core": "^15.1.1",
"@angular/forms": "^15.1.1",
"@angular/google-maps": "^12.2.13",
"@angular/localize": "^15.1.1",
"@angular/material": "^12.0.5",
"@angular/platform-browser": "^15.1.1",
"@angular/platform-browser-dynamic": "^15.1.1",
"@angular/router": "^15.1.1",
"@aspnet/signalr": "^1.1.4",
"@coreui/angular": "^2.11.2",
"@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.3.1",
"@coreui/coreui-pro": "^2.1.16",
"@coreui/icons": "0.3.0"
}
@numrauf for CoreUI v2 and Angular 15 you have to install @coreui/angular@~2.15
"@coreui/angular": "~2.15.1",Important:
it is ~ (tilde) sign, not ^ (caret) sign.
see also: @coreui/angular version concordance chart https://coreui.io/angular/docs/migration/angular-version/#coreui-v2
It appears that you have outdated dependencies:
- "@angular/cdk": "^12.0.5",
- "@angular/google-maps": "^12.2.13",
- "@angular/material": "^12.0.5",
