visionmedia/consolidate.js — Issue #11: Bad argument
Author: rafalsobota
Created: 2012-01-30 23:47:00+00:00
State: open

Any idea what's goin on? I use express 3 head repo.

```
app.set 'view engine', 'hamlc'
app.engine 'hamlc', cons['haml-coffee']
```
```
res.render 'main/intro'
```

```
TypeError: Bad argument
at Object.open (fs.js:224:11)
at new (fs.js:1056:6)
at Object.createReadStream (fs.js:1010:10)
at Object.readFile (fs.js:78:23)
at read (/Users/rav/Code/node_modules/startapp-schema/node_modules/consolidate/lib/consolidate.js:68:6)
at View.engine (/Users/rav/Code/node_modules/startapp-schema/node_modules/consolidate/lib/consolidate.js:233:3)
at View.render (/Users/rav/Code/node_modules/startapp-schema/node_modules/express/lib/view.js:82:8)
at Function.render (/Users/rav/Code/node_modules/startapp-schema/node_modules/express/lib/application.js:521:10)
at render (/Users/rav/Code/node_modules/startapp-schema/node_modules/express/lib/response.js:550:9)
at ServerResponse.render (/Users/rav/Code/node_modules/startapp-schema/node_modules/express/lib/response.js:574:5)```