Skip to content

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

Open
@ahmadafrasiyab

Description

@ahmadafrasiyab

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions