I am using Windows platform (please do not laugh at me). And I am trying to build a Symfony2 project using asseti in my localmachine that is running Windows 7.
Now I can not for the love of my life figure out why it is not dumping the assetic files. It is always saying some kind of RunTime Exception. I think it has to do with the coffee bin and node path. Is this the right way to set paths for coffee bin and node?
framework:
[...]
# Twig Configuration
twig:
[...]
# Assetic Configuration
assetic:
debug: "%kernel.debug%"
use_controller: true
bundles: [...]
filters:
sass:
load_paths: [ "%kernel.root_dir%/../src/xxxxx/WebsiteBundle/Resources/public/vendor/" ]
compass: true
coffee:
bin: C:\Users\xxxxx\AppData\Roaming\npm\coffee
node: C:\Program Files\nodejs\node
cssrewrite: ~
# Doctrine Configuration
[...]
php composer.phar
install works fine
php app/console asset:install
works fine
php app/console assetic:dump
gives me the following error:
[RuntimeException]
Unable to write file C:/xampp/htdocs/xxxxx/app/../web/js/3b27a3f_js?key=AIzaSyCk9Cxgv09X9DKar1bcsLAXxlqP3YhF0OI_1.js
My initial feeling is that something wrong with the coffee bin and node path.
Below is where those are in my machine.
I have no idea what's going on. I'll dump you any output that might help solve this. I feel clueless here. I am using SASS, Compass, coffee, etc.
cmd
as administrator (I don't have windows) – Must.../3b27a3f_js?key=AIzaSyC...
file, that's not a valid filename. – Decibel