erdkse / adminlte-3-angular

Angular 18.0.0 start-up project with AdminLTE 3.2.0 template
https://erdkse.com/projects/preview/adminlte-angular
MIT License
235 stars 191 forks source link

[ERROR] $color: theme-color("primary") is not a color. #58

Open alexandergallardo opened 1 month ago

alexandergallardo commented 1 month ago

Hi,

I have this error when run ng serve

✘ [ERROR] $color: theme-color("primary") is not a color. ╷ 166 │ $link-hover-color: darken($link-color, 15%) !default; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ src\scss_bootstrap-variables.scss 166:29 @import src\scss\adminlte.scss 11:9 @import src\styles.scss 10:9 root stylesheet [plugin angular-sass]

angular:styles/global:styles:1:8:
  1 │ @import 'src/styles.scss';
    ╵         ~~~~~~~~~~~~~~~~~
geordym commented 1 week ago

Hello bro, you can try to unistall the @ng-bootstrap/ng-bootstrap to fix that, and then use npm update or delete node_module and use npm install, i was having the same problem and is because install the @ng-bootstrap/ng-bootstrap 5.0 and this override the functions required in the scss, i unistall that and fixed, i was using the NgbModal and starting my problem