Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

ReferenceError: fetch is not defined #86

Open
subhasisghosal opened this issue Nov 4, 2020 · 0 comments
Open

ReferenceError: fetch is not defined #86

subhasisghosal opened this issue Nov 4, 2020 · 0 comments

Comments

@subhasisghosal
Copy link

I was trying to simply delete a file like this:
const s3Deleted = await S3Client.deleteFile('https://my-app.s3.amazonaws.com/tracks/audio.mp3')
but I'm getting this error every time I hit the API to delete:
ReferenceError: fetch is not defined at s.deleteFile (/home/ubuntu/my-api/node_modules/aws-s3/dist/aws-s3.js:1:2808)
Kindly resolve this bug

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant