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

[TypeError] self.s3.send is not a function - version 3.3.0 #96

Open
rj-david opened this issue Feb 29, 2024 · 2 comments
Open

[TypeError] self.s3.send is not a function - version 3.3.0 #96

rj-david opened this issue Feb 29, 2024 · 2 comments

Comments

@rj-david
Copy link

Version 3.3.0 results to this error

[TypeError] self.s3.send is not a function

                at <anonymous>                ../../../../../node_modules/s3-files/s3-files.js:54           const { Body: s3File } = await self.s3.send(new GetObjectCommand(params))
                at emit                       events.js:400                                                                                                                          
                at emit                       domain.js:475                                                                                                                          
                at read                       …ay/node_modules/readable-stream/lib/_stream_readable.js:387  if (ret !== null) this.emit('data', ret);                                
                at flow                       …ay/node_modules/readable-stream/lib/_stream_readable.js:735  while (state.flowing && stream.read() !== null) {}                       
                at resume_                    …ay/node_modules/readable-stream/lib/_stream_readable.js:718  flow(stream);                                                            
                at processTicksAndRejections  internal/process/task_queues.js:82
@TehEbil
Copy link

TehEbil commented Oct 28, 2024

You can downgrade to v2:

yarn add s3-zip@^2 or
npm install s3-zip@^2

@rj-david
Copy link
Author

Version 3.2.1 works without the problem above

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

2 participants