-
-
Notifications
You must be signed in to change notification settings - Fork 555
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
bug(core): async/await code in profileFactory causes "regeneratorRuntime is not defined" error #786
Comments
Thanks for reporting - I believe this is due to the recent addition of async/await code in Didn't realize this would be breaking or else it wouldn't have gone out in a patch. I'll update this issue with progress on the fix. Also, tagging @cruzdanilo here since he mentioned the issue in the PR |
@dannyvaughton I am going to start by removing promise support for the Thanks to all for reaching out |
@prescottprue Sure, no worries. Sorry, I had no idea this was breaking either. |
All good! I'm sure we will figure out a way to get it in there without a breaking change - just wanted to make sure you knew that the next patch release would break any promise logic you have in the |
Fixed in v3.0.4 - thanks for reaching out! |
What is the current behavior?
Getting
WebpackError: ReferenceError: regeneratorRuntime is not defined
onreact-redux-firebase
packages when I rungatsby develop
orgatsby build
.I've tried installing and adding plugins like
@babel/plugin-transform-runtime
to a.babelrc
file without any luck.If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox or similar.
Clone repo: https://github.com/hunterbecton/st-bug-1.git
Run
npm install
Run
gatsby develop
What is the expected behavior?
Successful develop and build without errors.
Which versions of dependencies, and which browser and OS are affected by this issue? Did this work in previous versions or setups?
Nothing has been updated or changed to my knowledge. I easily replicated the issue by moving all the config and setup files from my original project into a new gatsby project (reflected in the repo above.)
System:
OS: macOS 10.14.2
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 11.14.0 - /usr/local/bin/node
npm: 6.12.0 - /usr/local/bin/npm
Languages:
Python: 2.7.10 - /usr/bin/python
Browsers:
Chrome: 78.0.3904.70
Firefox: 69.0.1
Safari: 12.0.2
The text was updated successfully, but these errors were encountered: