Problems with @aws-sdk

default discord avatar
nacho
7 months ago
3

Hey there! I'm having troubles when building my app. I actually had it working some weeks ago.. but I'm unable to build it now due to some errors with aws-sdk (I'm using

@payloadcms/plugin-cloud-storage

) the app.



This is the error I get when trying to build it:




Has anyone found this issue too?



Okay.. so I actually went to my last working and I'm unable to build it now..

  • default discord avatar
    Rick
    7 months ago

    If you're using the s3adapter you need to install @aws-sdk/lib-storage package aswell as of release 1.0.14.

    image.png
  • discord user avatar
    denolfe
    Payload Team
    7 months ago

    @Rick is correct. An additional peer dependency was added for the s3 adapter recently. The readme is up-to-date with steps from the breaking change reference by Rick.

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.