-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a note to the documentation explaining how to use node-fetch
with apollo-link-http
#4857
Comments
Consider
|
This did work in fact! Thanks 👍 |
This was done - thanks! |
About node-fetch compatibility problem: apollographql/apollo-client#4857
The documentation recommends using
node-fetch
as your data-fetching tool when you are running node. Unfortunately, when you try to usenode-fetch
in a TypeScript project withapollo-link-http
, you see this error:If you install
@types/node-fetch
, you see this error:A workaround to this problem can only be found by combing through Github solutions. I think we should point out how to workaround this issue in the docs.
The text was updated successfully, but these errors were encountered: