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

ReferenceError: fetch is not defined #86

Description

@subhasisghosal

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions