Skip to content
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

ReferenceError: regeneratorRuntime is not defined #297

Open
aztack opened this issue Jul 7, 2017 · 2 comments
Open

ReferenceError: regeneratorRuntime is not defined #297

aztack opened this issue Jul 7, 2017 · 2 comments

Comments

@aztack
Copy link

aztack commented Jul 7, 2017

when I use await/async functions, regeneratorRuntime is needed to run transpiled code.
How can I include runtime js into transpiled code?

@kuba-machacek
Copy link

In order to use async/await, you need to npm install babel-polyfill.

@aksharj
Copy link

aksharj commented Jul 28, 2020

Hi,

I am having the same issue, i have installed babel-polyfill using above command but how can i include it in my application.js?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants