如果我按照安装过程在 styles.scss(ie //@import '~@nebular/auth/styles/all'; 和 //@include nb-auth-global();) 中包含以下注释代码,我得到以下错误。如何解决
@import 'themes';
@import '~@nebular/theme/styles/globals';
**//@import '~@nebular/auth/styles/all';**
@include nb-install() {
@include nb-theme-global();
**//@include nb-auth-global();**
};
./src/styles.scss 中的错误 (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src ??embedded!./node_modules/sass-loader/lib/loader.js??ref--14-3!./src/styles.scss) 模块构建失败(来自 ./node_modules/sass-loader/lib/loader .js):
$theme: map-merge(map-get($nb-themes-non-processed, $default), $theme); ^ 的参数必须是 /Users/Documents/Nebular-Angular/Angular-Nebular/AngularNebular/node_modules/@nebular/theme/styles/_theming.scss 中的地图(第 64 行,第 13 列
$map1
)map-merge($map1, $map2)