cdir
cdir copied to clipboard
fails on cdir'ing a req object
Got this whilst trying to use it on a req object. Let me know if you want more details about the req.
node.js:201 throw e; // process.nextTick error, or 'error' event on first tick ^ TypeError: Object.keys called on non-object at Function.keys (native) at constructMeta (/usr/local/lib/node_modules/cdir/cdir.js:284:20) at constructMeta (/usr/local/lib/node_modules/cdir/cdir.js:321:11) at constructMeta (/usr/local/lib/node_modules/cdir/cdir.js:343:11) at constructMeta (/usr/local/lib/node_modules/cdir/cdir.js:343:11) at constructMeta (/usr/local/lib/node_modules/cdir/cdir.js:343:11) at constructMeta (/usr/local/lib/node_modules/cdir/cdir.js:343:11) at Array.0 (/usr/local/lib/node_modules/cdir/cdir.js:690:5)
can you gist the req obj?
Let me know if you need anything other than console.log(req);
https://gist.github.com/2723587