-
-
Notifications
You must be signed in to change notification settings - Fork 484
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
patchDocument failing #2321
Comments
The file is a two line docx. Confirmed it opens in word. Contents is
No formatting is applied. |
Should have included:
And since the bug is likely in jszip:
|
I was able to create a working local version of |
interesting, does regular document creation work for you? that uses jszip too |
Having some issues in Deno with |
@dolanmiu dunno, we never actually do that. We started with a word template and had to update. We wound up switching just to straight pdf generation though. |
So simple reproduction:
TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received type number (80)
I've confirmed path is valid, and can be opened by the process.
console.log(f.length)
prints the file length in bytes.for reference:
Running on:
Node v18.14.2
Ubuntu 22.04
The text was updated successfully, but these errors were encountered: