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

Unable to open docx file in Node #907

Open
aylusltd opened this issue Sep 1, 2023 · 0 comments
Open

Unable to open docx file in Node #907

aylusltd opened this issue Sep 1, 2023 · 0 comments

Comments

@aylusltd
Copy link

aylusltd commented Sep 1, 2023

See related issue: dolanmiu/docx#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

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