Cannot get final name for export 'toBase64' @smithy/util-base64@3.0.0 in NextJS #6686
Open
4 tasks done
Labels
bug
This issue is a bug.
p2
This is a standard priority issue
potential-regression
Marking this issue as a potential regression to be checked by team member
response-requested
Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.
Checkboxes for prior research
Describe the bug
I am facing an issue when integrating media uploads to S3 using presigned URLs. I have installed
@aws-sdk/client-s3@3.697.0
and@aws-sdk/s3-request-presigner@3.697.0
, and I am using Next.js version 14.2.3. It works fine in development mode, but when I build the application, both locally and on Vercel, it throws the following error:To resolve this, I tried downgrading to version 3.485.0, and it is now working fine.
Regression Issue
SDK version number
@aws-sdk/client-s3@3.697.0, @aws-sdk/s3-request-presigner@3.697.0
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v20.9.0
Reproduction Steps
I have used server action to create the presigned URL then put the image with that response, here is sample code:
media.ts:
in the upload in client side:
Observed Behavior
Expected Behavior
Build the project success without any error same as version 3.485.0
Possible Solution
No response
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: