Like what we’re doing? Star us on GitHub!

Problems with @aws-sdk

nacho
4 weeks 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..

image.png
  • Rick
    3 weeks 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
  • denolfe
    Payload Team
    3 weeks 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
Can't find what you're looking for?
Get help straight from the Payload team with an Enterprise License.Learn More