jszip
jszip copied to clipboard
Unable to open docx file in Node
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