jszip icon indicating copy to clipboard operation
jszip copied to clipboard

Unable to open docx file in Node

Open aylusltd opened this issue 2 years ago • 0 comments

See related issue: https://github.com/dolanmiu/docx/issues/2321

Confirmed this is a jszip bug. File opens in adm-zip, and a patched version of docx works with adm-zip.

Attempting to open a docx file in my node server produces: TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received type number (80)

JSZip 3.10.1 Node v18.14.2 Ubuntu 22.04

aylusltd avatar Sep 01 '23 17:09 aylusltd