ReferenceError: fetch is not defined

前端 未结 10 1892
闹比i
闹比i 2020-11-29 17:48

I have this error when I compile my code in node.js, how can I fix it?

RefernceError: fetch is not defined

This is the function I am doing, it is re

10条回答
  •  甜味超标
    2020-11-29 18:19

    This is the related github issue This bug is related to the 2.0.0 version, you can solve it by simply upgrading to version 2.1.0. You can run npm i graphql-request@2.1.0-next.1

提交回复
热议问题