kriswallsmith/assetic — Issue #184: Stylus 500 Error - "Error: Cannot find module 'stylus'"
Author: adambiggs
Created: 2012-02-13 19:01:20+00:00
State: open

I just got CoffeeScript working with Assetic, but I'm having trouble getting the Stylus filter working. I'm almost definitely doing something wrong. It could also be related to the fact that I'm using NVM.

Here's what I have in my config.yml:
```
assetic:
debug: %kernel.debug%
use_controller: false
filters:
coffee:
bin: /Users/adam/.nvm/v0.6.8/bin/coffee
node: /Users/adam/.nvm/v0.6.8/bin/node
apply_to: "\.coffee$"
stylus:
node: /Users/adam/.nvm/v0.6.8/bin/node
apply_to: "\.styl$"
```

I noticed this filter doesn't require you to give a path to the Stylus node module. Is there a way I can see the path where the filter is expecting the module to live?