bpedro/node-fs — Issue #2: EISDIR error
Author: egeriis
Created: 2011-11-20 13:09:20+00:00
State: open

I receive an error message which I have no idea how to resolve. I guess it's a bug in this library?

Error:

events.js:48
throw arguments[1]; // Unhandled 'error' event
^
Error: EISDIR, illegal operation on a directory '/var/storage/1/2011/11/19'

Compressed code:

var fullPath = '/var/storage/1/2011/11/19';
fs.mkdir(fullPath, 0777, true, function(err){ console.log(err); });