Open my-roki opened 2 years ago
Someone told me that this error is caused by the version of multer, aws-sdk, multer-s3. So I have to downgrade that three npm packages below
"aws-sdk": "^2.895.0",
"multer": "^1.4.2",
"multer-s3": "^2.9.0",
npm i aws-sdk@2.895.0
npm i multer@1.4.2
npm i multer-s3@2.9.0
amazing solution and thanks for solution
I created an aws s3 bucket and connected it to the multer middleware to create a file server in aws s3 instead local storage. However, after the build, the following error appears and the file is not uploaded normally.
here is my multer s3 code
and then here is error.