akveo / nebular

:boom: Customizable Angular UI Library based on Eva Design System :new_moon_with_face::sparkles:Dark Mode
https://akveo.github.io/nebular
MIT License
8.05k stars 1.51k forks source link

Build error (Mixins may not be defined within control directives or other mixins) #372

Closed frieck closed 6 years ago

frieck commented 6 years ago

Issue type

I'm submitting a ... (check one with "x")

Issue description

Current behavior: During the build process the following error is happening: ERROR in ./src/app/@theme/styles/styles.scss Module build failed: undefined ^ Mixins may not be defined within control directives or other mixins. in C:\projects\recibos-admin\app\node_modules\@nebular\theme\components\checkbox\_checkbox.component.theme.scss (line 8, column 10) ERROR in ./src/app/@theme/styles/styles.scss Module build failed: ModuleBuildError: Module build failed: undefined ^ Mixins may not be defined within control directives or other mixins. in C:\projects\recibos-admin\app\node_modules\@nebular\theme\components\checkbox\_checkbox.component.theme.scss (line 8, column 10) at runLoaders (C:\projects\recibos-admin\app\node_modules\webpack\lib\NormalModule.js:195:19) at C:\projects\recibos-admin\app\node_modules\loader-runner\lib\LoaderRunner.js:364:11 at C:\projects\recibos-admin\app\node_modules\loader-runner\lib\LoaderRunner.js:230:18 at context.callback (C:\projects\recibos-admin\app\node_modules\loader-runner\lib\LoaderRunner.js:111:13) at Object.asyncSassJobQueue.push [as callback] (C:\projects\recibos-admin\app\node_modules\sass-loader\lib\loader.js:76:13) at Object.done [as callback] (C:\projects\recibos-admin\app\node_modules\neo-async\async.js:7974:18) at options.error (C:\projects\recibos-admin\app\node_modules\node-sass\lib\index.js:294:32)

Expected behavior: A complete build without errors

Other information:

Angular, Nebular

Angular: 5.2.10
Nebular: 2.0.0-rc.6
nachocoig commented 6 years ago

I've the same error!

ehoberg commented 6 years ago

this was already reported and fixed in the upcoming release:

316

downgrade sass in the meantime.

frieck commented 6 years ago

Didn't see it has been fixed... When it will be released?

ehoberg commented 6 years ago

No idea, just a friendly bypassing thats in the same boat =)

nnixaa commented 6 years ago

Have just released 2.0.0-rc.7, should be fixed there.