Open joncursi opened 7 years ago
I've been using this library with great success on React Native, but when I try calling any of the mutations from a Meteor web app, I'm getting:
Any ideas on what I'm doing wrong? I've tried adding
import "regenerator-runtime/runtime";
to both client and server code, but the result is the same.
The solution seems to be:
global.regeneratorRuntime = require('regenerator-runtime/runtime');
on the client.
See: https://forums.meteor.com/t/regeneratorruntime-is-not-defined-after-upgrading-to-1-4-2-1/31335/3?u=joncursi
I've been using this library with great success on React Native, but when I try calling any of the mutations from a Meteor web app, I'm getting:
Any ideas on what I'm doing wrong? I've tried adding
to both client and server code, but the result is the same.