I was running on 18.104.22.168-rc.1 fine. However after upgrading in 22.214.171.124 proper and adding
babel-runtime npm package I now get
ReferenceError: regeneratorRuntime is not defined in the browser. Everything I can find online says the answer to this is properly including
babel-polyfill but I have always been doing that and it’s the first import in my both of my
If I check in the browser console then
true so I’ve definitely got the polyfill included correctly. But looking through the regenerator code (it’s in my
modules.js in the browser) I should have
global.regeneratorRuntime but that’s not there.
Has anyone else struck this problem?
So far I’ve tried:
- Upgrading all my npm packages
No dice. I tried to make a small reproduction but can’t get it to fail, so it’s obviously something I have in my projects (it happens in all 3 I’ve upgraded).