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
[babel-runtime] await is a reserved word failure on asyncGenerator.js #5873
Comments
Hey @rosskevin! We really appreciate you taking the time to report an issue. The collaborators If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack |
From slack: hzoo [1:19] |
I have the same bug. When I try to Babel Configuration (.babelrc, package.json, cli command)
Expected Behavior To transpile directory without errors. Current Behavior
Your environment
|
I'm seeing the same thing on |
I got this exact error today when running @rosskevin Out of sheer curiosity, can you share the contents of your |
Now I get this with babili-webpack-plugin. It is an error that babel-runtime was not released in sync with the other 0.6.25 babel packages. This is really causing a headache for myself and others. Any attention to this matter is greatly appreciated. |
We just need to add a function id to the template. await: function awaiter(value) {
} |
Confirmed this a problem with the latest babel-runtime@6.23.0. I'm not sure how, but our function namer didn't realize |
Ok I'l just release this manually, sorry |
Hope this doesn't break it even more.. https://unpkg.com/babel-runtime@6.25.0/ https://unpkg.com/babel-runtime@6.25.0/helpers/asyncGenerator.js await: function _await(value) { |
Should be fixed, let me know |
Happens when async/await is used incorrectly. |
I have left the office for the day. I will get back to you tomorrow.
|
@EirikBirkeland how far away is your office? 😮 |
@purefan Betelgeuse |
Bug
Webpack compilation now fails. It appears that
asyncGenerator.js
names a functionawait
and that is now a failure with the most recent babel release. This appears to be generated from a babel-helpers template.Input Code
Not applicable, failing on babel-runtime itself.
Babel Configuration (.babelrc, package.json, cli command)
Expected Behavior
Doesn't fail on babel-runtime
Current Behavior
Webpack compile fails as indicated above
Your Environment
The text was updated successfully, but these errors were encountered: