Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 of 2 tasks
frieck opened this issue Apr 18, 2018 · 5 comments
Closed
1 of 2 tasks

Comments

@frieck
Copy link

frieck commented Apr 18, 2018

Issue type

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

  • bug report
  • feature request

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
Copy link

I've the same error!

@ehoberg
Copy link

ehoberg commented Apr 20, 2018

this was already reported and fixed in the upcoming release:
#316
downgrade sass in the meantime.

@frieck
Copy link
Author

frieck commented Apr 20, 2018

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

@ehoberg
Copy link

ehoberg commented Apr 20, 2018

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

@nnixaa
Copy link
Collaborator

nnixaa commented Apr 21, 2018

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

@nnixaa nnixaa closed this as completed Apr 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants