This may be due to a node.js bug. If so, could anyone please tell me how to report this bug upstream.
Nevertheless this commit fixes the problem, ash all the existing tests are still passing.
avoid breaking on 'ENOTDIR' errors (fixes #2466 in jashkenas/coffee-s…
I don't think it would be wise to merge this without hearing about how one can come across this error or reproduce it first.
@jashkenas I have two test cases attached in #2466 but let me check if it still fails with the most recent node.js.
I could not reproduce this with the latest node.js and CoffeeScript versions.