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

Scss compiler error #2

Open
robertocinetto opened this issue Mar 17, 2015 · 2 comments
Open

Scss compiler error #2

robertocinetto opened this issue Mar 17, 2015 · 2 comments
Assignees

Comments

@robertocinetto
Copy link

Hi!
I'm try to develop my app using your package to include compass. I've followed your installation instructions but i continue to reach this error when i try to start meteor:

Scss compiler error: -119988em*px/em is not a valid CSS value

The installation process is the following:
1- install scss support

$ meteor add fourseven:scss

2- install your package

$ meteor add francocatena:compass

3- create a scss.json file on root folder with:

{
    "includePaths": [
    ".meteor/local/build/programs/server/assets/packages/francocatena_compass"
    ]
}

4- include the mixin i need with:

@import "compass/typography/text/replacement";

At this point i want to use the mixin "replace-text" with

@include replace-text("assets/logo-roberto-cinetto.png");

but it turn back the error i write before. This is the full error:

Your app is crashing. Here's the latest log.

Errors prevented startup:

While building the application:
/Users/roberto/Clients/RobertoCinetto/robertocinettometeor/.meteor/local/build/programs/server/assets/packages/francocatena_compass/compass/typography/text/_replacement.scss:50:18: Scss compiler error: -119988em*px/em is not a valid CSS value


Your application has errors. Waiting for file change.

Do you have any idea for resolving this error? Thank you very much!

Update: could be related to this issue ?

@francocatena
Copy link
Owner

Hi @robertocinetto, thank you for the report. I will take a look at it and go back with some answer during the weekend.

@francocatena francocatena self-assigned this Mar 19, 2015
@francocatena
Copy link
Owner

Hi again @robertocinetto. I look into it, and yes, the problem is related to that issue on libsass.

You can use fourseven's 1.X release until the libsass guys release the fix and fourseven pick up the new version:

meteor add fourseven:scss@1.0.0

Also remember, this import must be done within a CSS declaration like:

.something {
  @include replace-text("assets/logo-roberto-cinetto.png");
}

If not you'll get a very bizarre error massage like "missing '{' near line XX:XX"

Cheers.

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

2 participants