-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Compiling SASS throughs random errors (that aren't actually errors) #39
Comments
Hi, would you be able to isolate which .sass files/sections cause problems for me please? Perhaps as another github repo that I can pull down and test against. |
I unfortunately can't publish production code, but I guess I can share our SASS mixins. This file blew up in about every line of the =shadow($distance, $color)
-webkit-box-shadow: 0px 0px $distance $color
-moz-box-shadow: 0px 0px $distance $color
box-shadow: 0px 0px $distance $color
=fade-white-right
background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 88%, rgba(255,255,255,1) 100%) // FF3.6+
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(88%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,1))) // Chrome,Safari4+
background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 88%,rgba(255,255,255,1) 100%) // Chrome10+,Safari5.1+
background: -o-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 88%,rgba(255,255,255,1) 100%) // Opera 11.10+
background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 88%,rgba(255,255,255,1) 100%) // IE10+
background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 88%,rgba(255,255,255,1) 100%) // W3C
=fade-white-left
background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 12%, rgba(255,255,255,0) 100%) // FF3.6+
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(12%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0))) // Chrome,Safari4+
background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 12%,rgba(255,255,255,0) 100%) // Chrome10+,Safari5.1+
background: -o-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 12%,rgba(255,255,255,0) 100%) // Opera 11.10+
background: -ms-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 12%,rgba(255,255,255,0) 100%) // IE10+
background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 12%,rgba(255,255,255,0) 100%) // W3C
=flexbox
display: -webkit-box
display: -moz-box
display: -ms-flexbox
display: -webkit-flex
display: flex
=flexbox-direction($direction)
@if $direction == "row"
-webkit-box-direction: normal
-moz-box-direction: normal
-webkit-box-orient: horizontal
-moz-box-orient: horizontal
@else if $direction == "column"
-webkit-box-direction: normal
-moz-box-direction: normal
-webkit-box-orient: vertical
-moz-box-orient: vertical
-webkit-flex-direction: $direction
-ms-flex-direction: $direction
flex-direction: $direction
=link
cursor: pointer
=placeholder
text-transform: uppercase
font-size: 60%
padding-top: 0.6em
padding-left: 20px
font-weight: 400
color: #999 |
Is there anyway I can at least deactivate the compiler all-together and use another tool that works? I had to update it to 0.9.5 for some dependencies and now I can't start my project anymore. |
I'll look into this over the next few days, I have been waiting for meteor's packaging system to stabilize. |
Any news on this? |
Please take note though that libsass doesn't support Sass 3.3.. only a subset of it.. it isn't even 3.2 feature complete. Maybe your issue is there somewhere? Also all those vendor stuff can be covered by the new Autoprefixer, i think. Correct me if i'm wrong!
You mean like ruby sass? I'm also interested in such way.. but I really like
(-- in the README) |
No, what i was asking for would be a kind of flag in the Concerning LibSass (is that this: http://libsass.org/ ?): |
No reliable online tool, unfortunately. Sassmeister is the closest but isn't as reliable either (you can try the Libsass engine at the settings dropdown.. you can find it at the upper right portion of the screen). I'm pretty sure you could set up a quick node project with grunt and grunt node-sass to conduct tests. |
Okay, Sassmeister totally failed, I'll set up a local node project when I get the time then. |
Since I had to add
fourseven:scss
as a dependency my SASS files, my project won't build. It throughs random errors like this one:But both my native compiler (through Ubuntu/WebStorm) and SassMeister compile my files without any error.
The text was updated successfully, but these errors were encountered: