-
Notifications
You must be signed in to change notification settings - Fork 13.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
sass error #6258
Comments
Probably related to sass/libsass#1724. I think you guys just need to update your gulp-sass version. |
same as upstair. i found @import "fonts/ionicons";,and style is ok. it seems works but alse comes another error Error: Undefined variable: "$color-contrast".
it likes the ionic-angular has some bug
|
+1 can't run ionic, no style at all, app becomes unusable. Seems like a showstopper. |
same error |
Hey everyone, sorry you're running into this. Could you run the following commands:
and then run |
@brandyscarney Yes, it fixes the error. |
@brandyscarney Problem solve for me too, thx |
Is there a way NOT to download the latest build each time when I do I see random errors here and there each day because for some reason, that day has a bad build and It's better if |
Above fix has not resolved the issue for me :( Your system information: Cordova CLI: 6.1.1 |
Do you have a working Ionic 2 project? Just replace the folder But my point is that this will happen again with |
@brandyscarney not for me same error Cordova CLI: 6.0.0 |
hi! @brandyscarney please update dependency with starter project |
I know ! thanks |
@DILEEP-YADAV Sure, this is just a workaround. I bet @brandyscarney and her team are taking care of this issue… |
thanks |
Thanks, |
Hey everyone! So if you install the latest |
Hey all, sorry for the headache. Gulp-sass has a caret dependency on node-sass, which got a pretty big update last night that started erroring on things that weren't previously erroring before. Yay semver! Should be fixed in all of the starters, which have been updated to the latest nightly version of beta.5 where it's fixed. As always, let us know if you're still having problems, thanks! |
not sure what the fix is here for existing projects? |
The Sass causing the error has been fixed in beta.6, so just updating If you need to stay on a previous version, you'll need to downgrade to
|
Hi, I installed ionic2 cli
npm install -g ionic@beta
and created a new projectionic start cutePuppyPics --v2
, following the official website.then
ionic serve
. I gotRunning 'serve:before' gulp task before serve
[23:07:29] Starting 'clean'...
[23:07:29] Finished 'clean' after 9.51 ms
[23:07:29] Starting 'watch'...
[23:07:29] Starting 'sass'...
[23:07:29] Starting 'html'...
[23:07:29] Starting 'fonts'...
[23:07:29] Starting 'scripts'...
[23:07:29] Finished 'scripts' after 71 ms
node_modules\ionic-angular\components.core.scss
Error: Import directives may not be used within control directives or mixins.
on line 34 of node_modules/ionic-angular/components.core.scss
>> @import "fonts/ionicons";
--^
And the page opens in the browser without css.. if I comment the line 33 (the
if
), it runs ok..Your system information:
Cordova CLI: 5.3.1
Ionic Framework Version: 2.0.0-beta.4
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
OS:
Node Version: v4.0.0
The text was updated successfully, but these errors were encountered: