adonisjs / drive-s3

S3 driver for AdonisJS drive
MIT License
21 stars 9 forks source link

[Bug] s3 endpoint issue #20

Closed Danhhoa closed 1 year ago

Danhhoa commented 1 year ago

Bug Report

I'm facing with issue when upload to s3 bucket with moveToDisk() method via Drive if I don't have Endpoint I see endpoint is optional props, but it required here?

image

Behavior

Videos still upload success into S3 bucket but it throw errors

Package version

"@adonisjs/drive-s3": "^1.3.2",

Node.js and npm version

Node 18.16.0

Sample Code

Drive config (Because I don't have endpoint) image

image

image

casperboone commented 1 year ago

See #15

I used

  "resolutions": {
    "@aws-sdk/client-s3": "3.190.0",
    "@aws-sdk/lib-storage": "3.190.0"
  }

in my package.json to make it work.