gatsbyjs / gatsby

The best React-based framework with performance, scalability and security built in.
https://www.gatsbyjs.com
MIT License
55.28k stars 10.31k forks source link

Gatsby source airtable - regeneratorRuntime is not defined #8175

Closed devrchancay closed 6 years ago

devrchancay commented 6 years ago

Hello, I am trying to implement https://github.com/jbolda/gatsby-source-airtable and I am faced with the following problem.

image

create the file .babelrc in the root of the project and add the necessary "presets". image

also change the file gatsby-node.js in the following way.

image

and it still does not work.

devrchancay commented 6 years ago

Finally I could solve adding this line to the start of gatsby-config.js

require('regenerator-runtime/runtime');

I still can not find how to support ES6-7-8 to gatsby, probably looking in the wrong place.

KyleAMathews commented 6 years ago

That plugin isn't maintained here btw. You should file an issue in its repo.