Skip to content
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

the extract method does not return an error event if the extraction fails. Abruptly crashes node. #139

Open
ahmadafrasiyab opened this issue May 12, 2023 · 0 comments

Comments

@ahmadafrasiyab
Copy link

async function main () {
try {
await extract(source, { dir: target })
console.log('Extraction complete')
} catch (err) {
// handle any errors
}
}

using this method with node 16.18.0 and a callback function does not return error or finish. This results in abruptly crashing node. Please provide good documentation and implementation of the callback function and investigate this bug. For specific cases, neither the finish nor the error event is fired within the writeStream function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant