visionmedia/nib — Issue #50: TypeError: Cannot set property '_imports' of undefined
Author: Qard
Created: 2011-12-12 19:16:12+00:00
State: open

I seem to be getting an error when I try to use nib. I'm not sure what's going wrong, but all I'm doing is using the example code to upgrade the compiler.

This is the output;

/usr/local/lib/node_modules/stylus/lib/middleware.js:137
var paths = style.options._imports = [];
^
TypeError: Cannot set property '_imports' of undefined
at /usr/local/lib/node_modules/stylus/lib/middleware.js:137:46
at [object Object]. (fs.js:107:5)
at [object Object].emit (events.js:61:17)
at afterRead (fs.js:878:12)
at wrapper (fs.js:245:17)