TypeError: realFetch.call is not a function
See original GitHub issueSimilar to #87
Included the following import statement but realFetch.call is not a function
is still thrown.
import { Redis } from "@upstash/redis/with-fetch";
Environment AWS Lambda Node.js 16.x
Same error with local dev environment using Node.js 16.15.1
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top Results From Across the Web
Node.js - realFetch.call is not a function · Issue #194
Trying to use this in a node.js worker and seeing error realFetch.call is not a function (node:41803) UnhandledPromiseRejectionWarning: TypeError: ...
Read more >Isomorphic fetch not working for external requests?
In order to extract actual data, You might want to call one of the ... return response.text(); }).then(function(body) { res.send(body); .
Read more >How to use the node-fetch.call function in node-fetch
module.exports = function (url, options) { if (/^\/\//.test(url)) { url = 'https:' + url } return realFetch.call(this, url, options) }. Was this helpful?...
Read more >How to use graphql with AWS Lambda - Questions
Hi, I want to use graphql with aws lambda function in node platform. How I can do this? any ... TypeError: realFetch.call is...
Read more >isomorphic-fetch
Trying to use this in a node.js worker and seeing error realFetch.call is not a function (node:41803) UnhandledPromiseRejectionWarning: TypeError: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @weixuanteo I’m working on a fix for this already
please import a fetch polyfill manually for now: For example:
npm i isomorphic-fetch
Can you share a minimal example where it fails?