-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting a ENOENT: no such file or directory
#68
Comments
I'm getting the same error with nested folders. |
I've encountered the same problem. Does anyone have advice? |
I was getting this and the originating error syscall was "link" and after looking on here it appears it doesn't handle symlinks well. The workaround is to use the filter option.
|
I got an This workaround has been successful: await decompress(zip, dir, {
map: (file) => {
if (file.type === 'file' && file.path.endsWith('/')) {
file.type = 'directory'
}
return file
},
}) |
Hit this issue on a zip coming from GitHub actions. Solution by @hubgit solved it for me. Thanks! |
I'm decompressing a folder of files, I'm attempting to write them to
dist
folder but getting aENOENT: no such file or directory
error. Is this the normal behavior? If so, how does this library handle decompressing something like this?https://stackoverflow.com/questions/54640595/when-decompressing-zip-in-node-enoent-no-such-file-or-directory
The text was updated successfully, but these errors were encountered: