-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Error Running Relay in MS Edge #665
Comments
Interesting, |
The same issue is also making us unable to bundle relay using Webpack 2 beta (See webpack/webpack#1725) |
kassens
added a commit
to kassens/relay
that referenced
this issue
Dec 11, 2015
Apparently `await` is missing from some lists of reserved words. Typically Babel or minifiers should quote `await` like they quote `function`. Instead of waiting for changes in Babel or webpack to trickle down, let's rename this for now. Fixes facebook#665.
is this fix going to be published to npm soon? thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting an error while trying to run an app which has Relay in the Edge browser. The browser keeps throwing this error:
I have tracked it down to the file: RelayTaskScheduler.js in the compiled code (which is generated by Babel):
I've verified that this is the problem by replacing the await function name with something non-reserved.
await
is a future reserved keyword: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar?redirectlocale=en-US&redirectslug=JavaScript%2FReference%2FReserved_Words#Future_reserved_keywordsThe text was updated successfully, but these errors were encountered: