Нет миксина с именем nb-install - PullRequest
0 голосов
/ 12 апреля 2019

я использую angular5, получаю ошибку 'No mixin named nb-install' при выполнении npm start или serve

Module build failed:
undefined
        ^
      No mixin named nb-install

Backtrace:
        stdin:13
      in E:\mrb_bugfixes\bottledepot\src\app\@theme\styles\styles.scss (line 13, column 10)

Ниже приводится файл с именем 'styles.scss', который я выполняю

@import 'themes';

// framework component themes (styles tied to theme variables)
@import '~@nebular/theme/styles/globals';
@import '~@nebular/auth/styles/all';

// loading progress bar theme
@import './pace.theme.scss';

// install the framework and custom global styles

@include nb-install() {

// framework global styles
@include nb-theme-global();
@include nb-auth-global();

// loading progress bar
@include ngx-pace-theme();

.custom-control .custom-control-indicator {
border-radius: 50%; // TODO: quickfix for 
https://github.com/akveo/nebular/issues/275
}
};

1 Ответ

0 голосов
/ 12 апреля 2019

Проведя долгое время.Я нашел для установки этой зависимости .....

npm install --save @nebular/theme @angular/cdk @angular/animations
...