-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Upgrading from 0.21.3 to 0.22.2 errors with regeneratorRuntime is not defined
#355
Comments
Experiencing the same issue here. Same upgrade path. |
I can't fully remove my usage of async/await in App.js using 0.22.2 without also adding Downgrading to 0.21.3 works fine without async/await in my code and without this additional import. |
I have the same problem. I tryed the solution hier: https://stackoverflow.com/questions/60435086/using-the-async-await-pattern-in-vue-js But i have something like that: |
@dannickstark I was eventually able to resolve it by updating all my dependencies (specifically babel/core-js), then deleting my node_modules directory, and installing everything from npm again. Not sure if it'll help you, but worth a shot! |
Some time ago I've published vue-cli-plugin-apollo-without-regenerator-runtime to. Feel free to use/pin that. |
When upgrading vue-cli-plugin-apollo from 0.21.3 to 0.22.2, my project started throwing the following error when loaded:
regeneratorRuntime is not defined
Adding
import "regenerator-runtime/runtime";
tomain.ts
fixes the problem, but that was not needed in 0.21.3?The text was updated successfully, but these errors were encountered: