DEV Community

Discussion on: Putting GraphQL Playground in front of AppSync

 
peerhenry profile image
peerhenry

Hmm, I could not reproduce the issue. Can you tell me what node version you are using and what are the dependencies listed in package.json?

Thread Thread
 
rebelok profile image
Andrew Vdovichenko

Here is the repository: github.com/rebelok/graphql-playground
I've tried on nodes 8, 10, 12 and 14 - the result is the same ^_^

Thread Thread
 
peerhenry profile image
peerhenry • Edited

I was able to fix the issue by installing npm i -S babel-runtime. Apparently it's a peer dependency of @workpop/graphql-proxy, meaning it doesn't get installed alongside of it. (The only reason I didn't run into this earlier is because node was able to resolve it from an underlying folder on my end.) I will update the article, thanks for bringing it to my attention. Let me know if this fixes the issue for you as well.