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 Output: Individual stylesheets must be in the sass directory. #697

Open
wzup opened this issue Dec 29, 2014 · 6 comments
Open

Error Output: Individual stylesheets must be in the sass directory. #697

wzup opened this issue Dec 29, 2014 · 6 comments

Comments

@wzup
Copy link

wzup commented Dec 29, 2014

After upgrading Compass to version 1.0.1, it throws an error Error Output: Individual stylesheets must be in the sass directory. when I do php app/console assetic:dump --watch --force. How to fix it?

@floutchito
Copy link

I encountered the same problem.

It seems to be linked to this :Compass/compass#1769 (comment)

The comment selected points out a solution that Assetic:compassFilter cannot handle.
The only "fix" for now is reverting to compass 0.12, which is a not a long term solution.

@numediaweb
Copy link

Please check my fix at Compass/compass#1769 (comment).

@fritzmg
Copy link

fritzmg commented Sep 25, 2015

To fix it, simply change this line

$pb->add('--sass-dir')->add('')->add('--css-dir')->add('');

to this:

$pb->add('--sass-dir')->add($tempDir)->add('--css-dir')->add($tempDir);

See also http://stackoverflow.com/questions/26084457/individual-stylesheets-must-be-in-the-sass-directory

I hope this gets integrated and released soon. This change should also be backwards compatible.

@fritzmg
Copy link

fritzmg commented Feb 15, 2016

Any update on this? Still a problem in 1.3.2.

@jrabahiClaraVista
Copy link

Had the same problem, @fritzmg . Your fix did the job.

@jleehr
Copy link

jleehr commented Dec 1, 2016

I had the same issue at Windows 7 but not on our Linux server

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

6 participants