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

Can't compile SCSS files on Windows #735

Open
MKlipaGavanski opened this issue May 15, 2015 · 6 comments
Open

Can't compile SCSS files on Windows #735

MKlipaGavanski opened this issue May 15, 2015 · 6 comments

Comments

@MKlipaGavanski
Copy link

I am trying to getting this working on WAMP on Windows, but keep on failing.

I have WAMP 2.5 Ruby 2,2 and Compass 1,0.3 installed on my Windows 8.1 PC with WAMP 2.5.

Here is the screenshot that shows I have Ruby and Compass installed on my PC.
screenshot

Here shows the configuration files that I used in my Symfony 2 project.
config

This is the error I encounter when I try to run the project.
error-screen

Here is the line for assetic bundle on the composer.json file.
"symfony/assetic-bundle": "~2.3"

As far as I checked, it looks like that this is something to deal with piping file streams. Just want to know whether this can be fixed or I need to install Ubuntu or Mac OSX. Please advise.

@MKlipaGavanski MKlipaGavanski changed the title Getting it to work on Windows Can't compile SCSS files on Windows May 15, 2015
@sujayjaju
Copy link

Edit "vendor/kriswallsmith/assetic/src/Assetic/Filter/CompassFilter.php"

Change Line 312 from:

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

to:

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

That fixed it for me.

@nakashu
Copy link

nakashu commented Aug 26, 2015

@sujayjaju - the fixed worked also on my setup on windows..
@kriswallsmith - could this be added to code, or would it break something ?

@vansante
Copy link

+1
Would be nice if this could be added.

@jleehr
Copy link

jleehr commented Nov 4, 2015

+1
We need this too.
(It was adden in 2011 but then removed with the next commit 😩)

@TorrnexT
Copy link

+1

@kubawerlos
Copy link
Contributor

#803 is fixing the issue.

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

7 participants