multer-s3 Questions

5

I'm using the aws-sdk to upload files to s3. I'm configuring my credentials with aws.config.update({ accessKeyId: aws.config.credentials.accessKeyId, secretAccessKey: aws.config.credentials.secr...
Purloin asked 20/5, 2020 at 10:52

6

When i am trying to upload the file and store in to s3 location, I got the error Error: read ECONNRESET at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27) is the above a version pr...
Convenience asked 16/9, 2020 at 0:14

5

Solved

I've been able to upload to s3 an image file using multer-s3 library but now I'm trying to add the sharp library to resize and rotate but can't figure out where or how it needs to go. This is my cu...
Sapota asked 10/9, 2019 at 4:36

4

Solved

I am using express + multer-s3 to upload files to AWS S3 service. Using the following code, I was able to upload the files to S3 Bucket but directly in the bucket. I want them to be uploaded in a...
Miriam asked 17/5, 2017 at 15:18

6

Note: Getting below error in multer s3. This error is pointing NPM module and I really don't understand the issue with this module. I have used upload.single as well as upload.array method to check...
Pickaxe asked 30/5, 2022 at 9:3

3

Solved

I'm trying to perform an image upload to aws s3 using multer-s3 on NestJS API. I have also tried aws-sdk. I use FileInterceptor and UploadedFile decorator to capture the file request. So far what I...
Aggi asked 24/4, 2020 at 5:55

8

Solved

I am trying to upload an image to amazon s3 using multer-s3, but I am getting this error: TypeError: Expected opts.s3 to be object node_modules/multer-s3/index.js:69:20 This is my server code...
Immediacy asked 8/11, 2016 at 18:31

4

AccessDenied: Access Denied at Request.extractError (/home/cricket_game/node_modules/multer-s3/node_modules/s3fs/node_modules/aws-sdk/lib/services/s3.js:524:35) at Request.callListeners (/home/cr...
Korykorzybski asked 4/8, 2016 at 13:54

4

Solved

I have a program Model, and i the program has an image attribute which I use multers3 to upload when creating the Program. The challenge that I am facing now is that, when I delete the program, eve...
Crucifer asked 3/12, 2020 at 11:9

3

Solved

I wish to post file to multipart form and upload it to Amazon S3 Bucket and return to user link to the file. const express = require('express'), aws = require('aws-sdk'), bodyParser = require('b...
Severe asked 26/11, 2019 at 15:35

3

Solved

I am using multer to upload media to my s3 bucket. I am using multer-s3 as a middleware to upload media like: const upload = multer({ storage: multerS3({ s3: s3, bucket: myBucket, key: function...
Kazimir asked 18/11, 2020 at 20:36

2

Solved

I'm using multer-s3-transform to upload file to s3, but before upload I want to resize file, and save in two different size. Following is my code, no error occur, but file is not uploading. let mu...
Compass asked 13/5, 2019 at 7:5

1

I am trying to upload file into AWS S3 using node js. My requirement is to use dynamic value for bucket in multerS3 storage object storage: multerS3({ s3: s3, bucket: function (req, file, cb)...
Aristocrat asked 22/5, 2018 at 12:8

3

I have a photo app (React Native) that is attempting to make a POST request to a nodejs express endpoint, with the photo and some metadata. The node app uploads the photo to s3. Using multer, the ...
Fractocumulus asked 3/2, 2018 at 22:10

1

I have done resizing of an image using easy image npm module in nodejs using the below code. var easyimg = require('easyimage'); easyimg.rescrop({ src:'1.jpg', dst:'/var/www/html/bangalore.jpg',...
Camelback asked 24/7, 2017 at 13:17

1

Solved

Im able to upload an image to S3. Now, if the file selected is .gif, I want to be able to convert the .gif file to .mp4 and upload the converted file to S3. I am able to convert a .gif to .mp4 with...
Phip asked 5/4, 2017 at 9:46
1

© 2022 - 2024 — McMap. All rights reserved.