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

Error Compiling _color.scss #193

Closed
mrsd88 opened this issue Dec 5, 2014 · 9 comments
Closed

Error Compiling _color.scss #193

mrsd88 opened this issue Dec 5, 2014 · 9 comments

Comments

@mrsd88
Copy link

mrsd88 commented Dec 5, 2014

Hi guys, I have problem when I did first compile SASS using Scout App. There is log:
error materialize.scss (Line 11 of _color.scss: Invalid CSS after " "lighten-5"": expected ")", was ": #fdeaeb,")

what should I do? Sorry, I'm newbie still learning with sass.
I'm waiting for your help. :)

@Dogfalo
Copy link
Owner

Dogfalo commented Dec 5, 2014

Your compiler is trying to use the libsass compiler. The libsass compiler is faster but does not work with all Sass projects. There should be an option to use "ruby sass". If you can't find it, try using http://koala-app.com/

Also make sure you are only trying to compile materialize.scss and not the individual component files.

@bogdanteodoru
Copy link

I had the same problem. Using sass with a version over 3.3 fixes the problem. Please upgrade your SASS version to latest one and it should work properly.

@burabure
Copy link

burabure commented Jan 6, 2015

i came across this issue using rails, solved by updating the sass-rails gem in the bundle

gem 'sass-rails', '~> 5.0'

@senych-vitalii
Copy link

I have same issue and updating "sass-rails" didn't solve problem. Solved problem updating "sass" gem directly as @bogdanteodoru mentioned.

@blackblood
Copy link

I updated my sass-rails version to 5.0.3 and its still not working. my materialize-sass gem version 0.95.2

@Dogfalo
Copy link
Owner

Dogfalo commented Apr 7, 2015

Read the post above yours
On Apr 7, 2015 3:11 PM, "akshay" notifications@github.com wrote:

I updated my sass-rails version to 5.0.3 and its still not working


Reply to this email directly or view it on GitHub
#193 (comment).

@sameera207
Copy link

I had the same issue and was able to resolve it by the help of comments from @burabure and @bogdanteodoru, coz it didnt solve the issue by only updating the sass-rails,

#Gem file
gem 'sass'
gem 'sass-rails', '~> 5.0'

and

bundle update

that solved the problem 💃

@rangeles-localytics
Copy link

Will having 2 versions of 'sass' cause issues?

I have versions: sass (3.4.14, 3.2.19) installed.

@Dogfalo
Copy link
Owner

Dogfalo commented Sep 13, 2015

As long as you use the higher version to compile it should be fine
On Sep 12, 2015 7:09 PM, "rangeles-localytics" notifications@github.com
wrote:

Will having 2 versions of 'sass' cause issues?

I have versions: sass (3.4.14, 3.2.19) installed.


Reply to this email directly or view it on GitHub
#193 (comment)
.

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

8 participants