You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have implement unzipper module in my repo. below is code snippet but when i deploy code in production where TPM is high i am getting BAD_PASSWORD error very often.Can you suggest good idea how to resolve it.
const zipDirectory = await Open.file(filepath); // unzip a file
const file = zipDirectory.files[0]; // find the file you want
const extracted = file.buffer(password)
writeFile('test.xml', extracted.toString(), (err) => {
if (err) {
console.error({ message: "Error while writing file" });
}
console.info("Unzip File Saved Successfully");
});
Error :
error: "BAD_PASSWORD"
level: "error"
The text was updated successfully, but these errors were encountered:
I have implement unzipper module in my repo. below is code snippet but when i deploy code in production where TPM is high i am getting BAD_PASSWORD error very often.Can you suggest good idea how to resolve it.
Error :
The text was updated successfully, but these errors were encountered: