-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Nested mixins error #316
Comments
Update: this seems to have something to do with Yarn. Oddly enough if I nuke node_modules then run Is yarn considered unsupported? If so I will close this issue. |
I have the same issue. |
Same problem. Nuking node_modules did not fix it for me. Any tips? |
Update: Seems to be some sass compiler changes between ng-cli 1.7.1 and 1.7.3. reverting to 1.7.1 "fixed" the issue for me. |
@matheus2740 did you try without yarn? I think the nested syntax is actually not permitted in Sass (even if it did work in certain versions), meaning this may be a Nebular bug. See for example this recent issue. |
I dont have yarn, i am facing the issue, trying to resolve for past 4 hours |
@mixin hover-border($color) { |
@angular/cdk: 5.2.4 |
May i know how long this would take to fix, do you have any workaround because could not move forward because of this issue |
me too. may i know how long this would take to fix, do you have any workaround because could not move forward because of this issue |
@lakstap , @valiaga try angular cli v1.7.1. @RichardWarfield I haven't tried yarn, just npm, but this seems to be a problem with the angular cli version used (I think). Maybe the new sass compiler in 1.7.3 dont allow this syntax anymore. Try reverting to angular cli 1.7.1 (works for me). |
@matheus2740 yes my angular cli 1.7.1 please see above. lot more errors coming now. Module build failed: |
Hey @lakstap, could you push a reproducible example somewhere? github + stackblitz would be nice. |
@nnixaa sorry, i just did npm install, ng serve throws this error |
I have the same issue. Has been working on 2.0.0-rc.3 for a long time. When I cleaned and npm install today, got this error. |
@lakstap sorry, I don't have much advice. Maybe try removing your global angular and reinstalling, maybe try other versions. you'll have to fiddle with it a bit. |
@nnixaa Actually, I tried a few of them:
Unfortunately, none of them helped so far. I'll continue trying and will let you know of any progress I made. Thanks for the advice. |
I had the same issue and after replace [email protected] by [email protected] it works even with nodejs 8.10.0, npm 5.8.0, angular/cli 1.7.3 and angular 5.2.9, i hope this helps |
@jesus-ibanez direct install [email protected] is work!! thanks~ angular/cli 1.7.3 and angular 5.2.9 |
@huybn5776 could you please share the steps, like npm install and then install node saas |
@lakstap install [email protected] than everything is ok in my case. My package.json doesn't contain node-sass before this, but i seen [email protected].?(forgotten) in node_modules folder, so i decide to install it explicitly, then the problem magically solve. Special thanks to @jesus-ibanez !! |
did you get this Argument Backtrace: |
Mixin error is gone, but i am getting bunch of this Argument |
2 days could not resolve someone please throw some highlight ERROR in ./src/app/@theme/layouts/two-columns/two-columns.layout.scss Backtrace: |
Hey @lakstap, please post your |
Have just released 2.0.0-rc.7, should be fixed there. |
@huybn5776 Thanks, it's OK |
Issue type
I'm submitting a ... (check one with "x")
Issue description
Current behavior:
Error about nested mixins when building/running (
yarn run start
)Expected behavior:
It should build and run.
Steps to reproduce:
Clone from git and
yarn run start
Other information:
npm, node, OS, Browser
Yarn version 1.3.2 (also tried npm 5.6.0)
Node 9.8.0
Arch Linux x86
Angular, Nebular
The text was updated successfully, but these errors were encountered: