Skip to content

ReferenceError: fetch is not defined #4

Description

@chrisleekr

I am trying to get random image; however, I got the error message.

Code

image().then(result => {
    console.log(result);
});

Error

ReferenceError: fetch is not defined
    at Object.exports.image (/srv/node_modules/rangen/dist/image.js:13:5)

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