-
Notifications
You must be signed in to change notification settings - Fork 17
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
Forwarding errors from node-stream-zip
#55
Comments
Hello! |
Hi - thank you! I would love to provide an |
Hi @danielchiu! Were you able to gather any more details about the errors? |
Thanks for bumping! We forked the repo with error forwarding, and now at least have the base error:
It's inconsistent in that the same file will not always manifest the issue, and the only online reference is tschaub/mock-fs#349 (comment). Best guess is something concurrency-related. Have you seen this before in your usage of |
I don't think we do run into this one with any regularity. Would be really helpful if you could provide us a sample of your script and an Excel file that triggers this issue, even if sporadically. |
Not the easiest to isolate but will give it a shot! |
Hi Daniel, were you able to gather any additional info? Perhaps there is something that you might like to contribute to the library to make troubleshooting easier for others as well? |
Apologies for the delay while I was traveling - feel free to do whatever you wish with #57! |
Hello! We're using
xlstream
with great success - thank you :)Occasionally, we hit errors from inside the library, specifically
Cannot read properties of undefined (reading 'pipe')
. Looking at the source code, it looks like thestream
is undefined.This
stream
comes fromnode-stream-zip
, and indeed in the the types it looks like the stream is optional, presumably when there is an error passed in.We unfortunately don't have a repro, but will attempt to find one. Have you seen this happen before? I'm also curious whether it'd be possible to surface the error from
node-stream-zip
rather than hitting the exception on.pipe()
.The text was updated successfully, but these errors were encountered: