EISDIR when unlinking with 2.1.0 #15

Closed
eknkc opened this Issue Dec 21, 2012 · 3 comments

Comments

Projects
None yet
2 participants
@eknkc

eknkc commented Dec 21, 2012

Hi, just tried the latest 2.1.0 release, I use rimraf to cleanup the cache folder, containing other folders but it fails now:

Unable to start server due to error: EISDIR, unlink '/---/cache/p_7641'
Trace
    at ----
    at CB (/srv/node/staging/node_modules/rimraf/rimraf.js:46:5)
    at /srv/node/staging/node_modules/rimraf/rimraf.js:67:12
    at Object.oncomplete (fs.js:297:15)

Thanks.

@isaacs

This comment has been minimized.

Show comment
Hide comment
@isaacs

isaacs Dec 21, 2012

Owner

Ah, needs to catch EISDIR as well as EPERM. Thanks.

Owner

isaacs commented Dec 21, 2012

Ah, needs to catch EISDIR as well as EPERM. Thanks.

@isaacs isaacs closed this in 97e8ac0 Dec 21, 2012

@isaacs

This comment has been minimized.

Show comment
Hide comment
@isaacs

isaacs Dec 21, 2012

Owner

@eknkc Does it work with 2.1.1?

Owner

isaacs commented Dec 21, 2012

@eknkc Does it work with 2.1.1?

@eknkc

This comment has been minimized.

Show comment
Hide comment
@eknkc

eknkc Dec 21, 2012

Just tried, yes it works perfectly on that same environment now.
Thanks.

eknkc commented Dec 21, 2012

Just tried, yes it works perfectly on that same environment now.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment