Replies: 2 comments 1 reply
-
First thing to double-check is did you install node-fetch? Also is there any other errors? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi guys, After an entire morning struggling to create a checkout with shopify-buy on server-side I finally sorted it out. On localhost everything was working but once deployed to Gatsby Cloud I was getting the same @adiusz error. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there,
Is it possible to use node-fetch within Gatsby Functions? I'm struggling to send a POST request to Slack's webhook, so I can send a message to a channel.
Thing is I am using the same function in different project of mine, where I use Netlify Functions to do this.
But here in Gatsby I got 500 error and console is logging
TypeError: fetch is not a function
My function looks like that:
I would appreciate any help 🙃
Beta Was this translation helpful? Give feedback.
All reactions