Closed pspaulding closed 7 years ago
thanks for the report. :thinking: i have to think a bit more to make sure we can use this for everything.
i pushed a fix that will help. using option track_inodes:false. this was the least invasive andmost useful i think.
I believe this is related to https://github.com/nodejs/node/issues/12115 I suspect the problem is difficult to duplicate, but it just bit me as the https://github.com/archiverjs/node-archiver library depends on node-walkdir. In my case, I had two different directories that returned the same inode. I traced the problem to line 78-79 of walkdir.js:
If I modify line 78 to use
path
instead offileName
as the last part of the key, the problem is corrected.