-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
TypeError: Deno.write is not a function #18
Comments
Is it as simple as updating |
I cloned the repo and updated writer_gzip.ts. This introduced new errors about something being a directory. I (sloppily) coded around those errors and got it to run BUT my files were 0 byte files at the destination. :-( |
Another data point: I created the gzip another way and was able to use compress's |
@richcorbs Solution:
|
Landed on |
I'm using Deno 2 and trying to use compress to tar and gzip a directory on one system and then ungzip and untar the directory on another. The directory contains text and binary files.
Previously I have tried 0.4.4, and 0.4.5 and I was getting
Deno.read is not a function
. Updating to 0.4.6 resolved this error. Yay! Now I'm getting theDeno.write
error.\The tar file is written as expected and where expected but this
Deno.write
error shows up during the gzip portion. A 0-byte ".gz" file is created.This library seems to do exactly what I need if I could get it to work.
I'll look around the code a bit to see if there is anything obvious but I'm not confident in my own skills.
Any thoughts you have are appreciated if you're reading this. :-)
The text was updated successfully, but these errors were encountered: