-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Develop failure: ReferenceError: regeneratorRuntime is not defined #1847
Comments
This issue should be fixed now. |
Update to the latest version. |
I still have this problem after upgrading to Gatsby v1.8.16. Tried nuking I started getting the error when I added an async function to my code. Am I supposed to install the babel runtime or is this a bug in Gatsby? |
I've got exactly the same issue as @whmountains . I'm using gatsby with typescript and it happens when I want to use async functions. |
How did you fix it, @pie6k ? |
I didn't. @auser |
I am facing the same error, any suggestions!
|
@Jaikant Your issue looks like in the browser app you've not included the babel-polyfill or regenerator-runtime Try adding the below to exports.onClientEntry = () => {
require('babel-polyfill')
} |
when I add gatsby-source-contentful in plugins, I get error:
the gatsby-config.js is like:
The text was updated successfully, but these errors were encountered: