How to compile compass?


#1

I uses Compass in my project.
When I build .scss file, there is an error.
Error: file to import not found or unreadable: compass/css3
How should I solve this problem?


#2

Do you have an Atom package that helps execute this tool?


#3

I used “sass-autocompile”.

BTW I can compile scss with compass in sublime text 3.
So I don’t what’s wrong


#4

Have you opened an Issue with the owner of the package?


#5

It should not be necessary to open an issue in this case.

The explanation for this is as follows:
Sass is originally written in Ruby and Compass in parts heavily depends on Ruby being present. The sass-autocompile package for Atom, however, uses node-sass for compilation which is based on libsass. And libsass, contrary to “native” Sass, is written in C.

So maybe the OP should look for a viable alternative like Bourbon.


#6

As a package author, if people are having problems with my packages, I generally want to know. Or at least, I’d rather know even if they plan to pursue something else.


#7

Thank you for your suggestion.
I created an issue in author’s Github.
Waiting for author’s answer.
:grinning:


Compass/CSS3 on Mac osX - Atom
#8

Of course one would want to know when/if people are having issues. What I was trying to express, however, is that the mentioned issue here is less a problem with sass-autocompile, but rather a problem with libsass vs ruby-sass, the underlying compilers.

EDIT
The author of sass-autocompile also pointed that out in the corresponding (and thus closed) GitHub issue.


#9

i have same the problem.
did you get the answer from the author


#10

The author’s reply

I can’t put the link.


#11

I hope you don’t mind me editing your post to linkify it for you :grinning: